How to create Internet Gateway using AWS CLI

0 votes
Please help me with the command to create an Internet gateway using AWS CLI. Thank you in advance.
Feb 21, 2019 in AWS by Radhika
973 views

1 answer to this question.

0 votes

It is simple to create an Internet Gateway. All you need to do is configure your AWS and use the following command:-

C:\Users\priyj_kumar>aws ec2 create-internet-gateway

This command will give you an output stating your Internet gateway ID.

{
    "InternetGateway": {
        "Attachments": [],
        "InternetGatewayId": "igw-0185c098195ba1d1a",
        "Tags": []
    }
}

Hope it helps.

answered Feb 21, 2019 by Priyaj
• 58,100 points

Related Questions In AWS

0 votes
1 answer

How to create a VPC using AWS CLI?

To create an Amazon VPC using AWS ...READ MORE

answered Feb 21, 2019 in AWS by Priyaj
• 58,100 points
1,129 views
0 votes
1 answer

How to create a subnet inside a VPC using AWS CLI?

To create a subnet inside a VPC ...READ MORE

answered Feb 21, 2019 in AWS by Priyaj
• 58,100 points
693 views
0 votes
1 answer

How to create a DynamoDB using AWS CLI?

You can create a DynamoDB table using ...READ MORE

answered Feb 22, 2019 in AWS by Priyaj
• 58,100 points
1,876 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to create a S3 bucket using AWS CLI?

You can use the following command:- C:\Users\priyj_kumar>aws s3api ...READ MORE

answered Feb 15, 2019 in AWS by Priyaj
• 58,100 points
6,111 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP