banner



How To Create An Ec2 Instance

Launch Your First Amazon EC2 Instance

Launching an EC2 instance

  1. Sign in to the preview version of the AWS Management Console

  2. Open the Amazon EC2 console by choosing EC2 under Compute.

  3. From the EC2 Console, click Launch Instance. LaunchInstance

  4. The Choose an Amazon Machine Image (AMI) page displays a list of basic configurations called Amazon Machine Images (AMIs) that serve as templates for your instance. Select the HVM edition of the Amazon Linux 2 AMI. amiselection

  5. On the Choose an Instance Type page, choose c5d.xlarge as the hardware configuration of your instance and Review and Launch. ec2selection

  6. On Instances details, make sure the Auto-assign Public IP is Enable and you selected Enclave as Enable. Click on Next: Add Storage instancedetails

  7. Review the configurations and click Next: Add TagesThe ephemeral0 is the Instance Storage based on NVMe SSD. addstorage

  8. A tag consists of a case-sensitive key-value pair. For example, you could define a tag with key = Name and value = Webserver. Add a tag and click Next: Configure Security Group ec2tags

  9. A security group is a set of firewall rules that control the traffic for your instance. On this page, you can add rules to allow specific traffic to reach your instance. For example, if you want to set up a web server and allow Internet traffic to reach your instance, add rules that allow unrestricted access to the HTTP and HTTPS ports. Give the Security group a name and Description. Select source as My IP to avoid expose SSH port 22 to the world. Click Review and Launch. ec2securitygroup

  10. Review Instance Launch and click Launch ec2launch

  11. In the Select an existing key pair or create a new key pair dialog box, choose Create a new key pair, enter a name for the key pair, and then choose Download Key Pair. This is the only chance for you to save the private key file, so be sure to download it. Save the private key file in a safe place. You can use C:\user\yourusername.ssh\myfirstkey.pem if you are on a Windows machine, and ~/.ssh/myfirstkey.pem if you are on a Mac or Linux machine. You need to provide the name of your key pair when you launch an instance, and the corresponding private key each time you connect to the instance. keypair

  12. A confirmation page lets you know that your instance is launching. Choose View Instances to close the confirmation page and return to the console.

On the Instances page, you can view the status of your instance. It takes a short time for an instance to launch. When you launch an instance, its initial state is pending. After the instance starts, its state changes to running, and it receives a public DNS name.

How To Create An Ec2 Instance

Source: https://ec2-immersionday.workshop.aws/launch-your-first-amazon-ec2-instance.html

Posted by: turnerfreg1955.blogspot.com

0 Response to "How To Create An Ec2 Instance"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel