You are now ready to launch an Amazon EC2 instance using the AMI that you selected in the previous step. Launching an instance involves the following tasks:
Important The instance you’re about to launch will be live. You will incur the standard Amazon EC2 usage fees for the instance until you terminate it in the last task in this tutorial. If you complete this walkthrough in one session, the total charges will be minimal (typically less than a dollar). For more information about Amazon EC2 usage rates, go to the Amazon EC2 product page.
1. After you select an AMI, and click Launch Instance as you did in the previous step, the Create a New Instance page appears. This page provides two ways to launch an instance:
On the Create a New Instance page, click Quick Launch Wizard.
2. In the Request Instances Wizard, on the Instance Details page, in the Availability Zone list, select us-east-1b.
Accept the other defaults on this page, and then click Continue. Accept the defaults on the next two pages, and then click Continue on each. When the wizard displays the Create Key Pair page, go to the next step.
3. Create a key pair:
If you’re new to Amazon EC2 and haven’t created any key pairs yet, when the wizard displays the Create Key Pair page, the Create a new Key Pair button is selected by default.
On the Create Key Pair page, in the Enter a name for your key pair box, type mykeypair. This will be the name of the private key file associated with the pair (with a .pem extension).
Important You need the key pair to be able to connect to your Amazon EC2 instance. If you lose the key pair, you will not be able to connect.
The wizard displays the Configure Firewall page, where you create a security group.
Related Page: Creating An Elastic Load Balancer In AWS
4. Create a security group:
A security group defines firewall rules for your instances. These rules specify which incoming network traffic should be delivered to your instance (e.g., accept web traffic on port 80). All other traffic is ignored. You can modify rules for a group at any time. The new rules are automatically enforced for all running instances. For more information about security groups, go to Using Security Groups in the Amazon Elastic Compute Cloud (Amazon EC2).
Caution The security group enables all IP addresses to access your instance over SSH. This is acceptable for the short exercise in this tutorial, but it’s not secure for production environments. In production, you’ll authorize only a specific IP address or range of addresses to access your instance.
The security group is created and assigned an ID (e.g., sg-48996e20). Your instance will be launched into this new security group.
5. Review your settings and launch the instance:
After a short period, your instance’s status switches to running. To manually refresh the display at any time, you can click Refresh.
i) Select the running instance, and note the public DNS address in the bottom pane. You will need it for the next task.
When your instance’s status is running, you can connect to your instance and deploy your application.
Related Pages:
AWS TRAINING
AWS TUTORIALS
Sample Resume:
AWS SAMPLE RESUME
Interview Questions:
AWS INTERVIEW QUESTIONS
If you interested to learn AWS and build a career in Cloud Computing? Then check out our AWS Certification Training Course at your near Cities
AWS certification course Ahmedabad, AWS certification course Bangalore AWS certification course Chennai, AWS certification course in Delhi, AWS certification course Dallas, AWS certification course in Hyderabad, AWS certification course London, AWS certification course Mumbai, AWS certification course NewYork, AWS certification course Pune
These courses are incorporated with Live instructor-led training, Industry Use cases, and hands-on live projects. This training program will make you an expert in AWS and help you to achieve your dream job.
Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
Name | Dates | |
---|---|---|
AWS Training | Nov 19 to Dec 04 | View Details |
AWS Training | Nov 23 to Dec 08 | View Details |
AWS Training | Nov 26 to Dec 11 | View Details |
AWS Training | Nov 30 to Dec 15 | View Details |
Prasanthi is an expert writer in MongoDB, and has written for various reputable online and print publications. At present, she is working for MindMajix, and writes content not only on MongoDB, but also on Sharepoint, Uipath, and AWS.