apt-get not working on EC2 Ubuntu 16.04
up vote
0
down vote
favorite
I have created an EC2 instance with Ubuntu 16.04. I have set up NACL with the following inbound
and outbound rules
:
Inbound Rules
:
1 SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW
2 HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
3 HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
4 MySQL/Aurora (3306) TCP (6) 3306 0.0.0.0/0 ALLOW
5 HTTP* (8080) TCP (6) 8080 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY
Outbound Rules
:
1 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY
Here are my rules for the security group:Inbound Rules
:
SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW
HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
MySQL/Aurora (3306) TCP (6) 3306 0.0.0.0/0 ALLOW
HTTP* (8080) TCP (6) 8080 0.0.0.0/0 ALLOW
Outbound Rules
:
ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
I am able to SSH into the EC2 instance from my computer, but, I am not able to run sudo apt-get
commands.
I am able to run apt-get commands if I add 6 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
as an inbound rule
to NACL
What rule do I need to add so allow apt-get commands?
apt amazon-ec2
add a comment |Â
up vote
0
down vote
favorite
I have created an EC2 instance with Ubuntu 16.04. I have set up NACL with the following inbound
and outbound rules
:
Inbound Rules
:
1 SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW
2 HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
3 HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
4 MySQL/Aurora (3306) TCP (6) 3306 0.0.0.0/0 ALLOW
5 HTTP* (8080) TCP (6) 8080 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY
Outbound Rules
:
1 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY
Here are my rules for the security group:Inbound Rules
:
SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW
HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
MySQL/Aurora (3306) TCP (6) 3306 0.0.0.0/0 ALLOW
HTTP* (8080) TCP (6) 8080 0.0.0.0/0 ALLOW
Outbound Rules
:
ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
I am able to SSH into the EC2 instance from my computer, but, I am not able to run sudo apt-get
commands.
I am able to run apt-get commands if I add 6 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
as an inbound rule
to NACL
What rule do I need to add so allow apt-get commands?
apt amazon-ec2
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have created an EC2 instance with Ubuntu 16.04. I have set up NACL with the following inbound
and outbound rules
:
Inbound Rules
:
1 SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW
2 HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
3 HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
4 MySQL/Aurora (3306) TCP (6) 3306 0.0.0.0/0 ALLOW
5 HTTP* (8080) TCP (6) 8080 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY
Outbound Rules
:
1 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY
Here are my rules for the security group:Inbound Rules
:
SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW
HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
MySQL/Aurora (3306) TCP (6) 3306 0.0.0.0/0 ALLOW
HTTP* (8080) TCP (6) 8080 0.0.0.0/0 ALLOW
Outbound Rules
:
ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
I am able to SSH into the EC2 instance from my computer, but, I am not able to run sudo apt-get
commands.
I am able to run apt-get commands if I add 6 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
as an inbound rule
to NACL
What rule do I need to add so allow apt-get commands?
apt amazon-ec2
I have created an EC2 instance with Ubuntu 16.04. I have set up NACL with the following inbound
and outbound rules
:
Inbound Rules
:
1 SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW
2 HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
3 HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
4 MySQL/Aurora (3306) TCP (6) 3306 0.0.0.0/0 ALLOW
5 HTTP* (8080) TCP (6) 8080 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY
Outbound Rules
:
1 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY
Here are my rules for the security group:Inbound Rules
:
SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW
HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
MySQL/Aurora (3306) TCP (6) 3306 0.0.0.0/0 ALLOW
HTTP* (8080) TCP (6) 8080 0.0.0.0/0 ALLOW
Outbound Rules
:
ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
I am able to SSH into the EC2 instance from my computer, but, I am not able to run sudo apt-get
commands.
I am able to run apt-get commands if I add 6 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW
as an inbound rule
to NACL
What rule do I need to add so allow apt-get commands?
apt amazon-ec2
asked May 8 at 21:05
Pritam Bohra
1012
1012
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033765%2fapt-get-not-working-on-ec2-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password