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 in AWS by Radhika
12 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 by Priyaj
• 56,120 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 in AWS by Priyaj
• 56,120 points
45 views
0 votes
1 answer
0 votes
1 answer

How to create a DynamoDB using AWS CLI?

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

answered Feb 22 in AWS by Priyaj
• 56,120 points
22 views
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 in AWS by Priyaj
• 56,120 points
73 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.