After you have already signed up for Amazon Web Services (AWS), you can start using Amazon EC2 immediatelty. You can open the Amazon EC2 console, click Lunch Instance, and follow the below steps in the launch wizard to launch your first instance.
If you have not signed up for AWS yet and you need assistance in launching your first instance then, complete the following tasks to setup to use Amazon EC2.
- Sign Up for AWS
- Create an IAM User
- Create a Key Pair
- Create a Virtual Private Cloud (VPC)
- Create a Security Group
Sign Up for AWS
Sign up for Amazon Web Service(AWS), enables your account automatically signed up for all services in AWS, including Amazon EC2. You are charged only for the services that you use.
If you have an AWS account already, skip to the next task. If you don’t have an AWS account, use the Create an AWS Account blog.
Create an IAM User
AWS Identity and Access Management (IAM) is a web service that enables Amazon Web Services (AWS) customers to manage users and user permissions in AWS. The service is targeted at organizations with multiple users or systems in the cloud that use AWS products such as Amazon EC2, Amazon SimpleDB, and the AWS Management Console. With IAM, you can centrally manage users, security credentials such as access keys, and permissions that control which AWS resources users can access.
If you have signed up for AWS but have not created an IAM user for yourself, you can create one following Create an IAM User blog.
Create a Key Pair
AWS uses public-key cryptography to secure the login information for your instance. A Linux instance has no password; you use a key pair to log in to your instance securely. You specify the name of the key pair when you launch your instance, then provide the private key when you log in using SSH.
If you haven’t created a key pair already, you can create one by following Create AWS EC2 Key Pair blog.
Note: that if you plan to launch instances in multiple regions, you’ll need to create a key pair in each region. For more information about regions, see Regions and Availability Zones.
Create a Virtual Private Cloud (VPC)
Amazon Virtual Private Cloud (Amazon VPC) enables you to launch Amazon Web Services (AWS) resources into a virtual network that you’ve defined. This virtual network closely resembles a traditional network that you’d operate in your own data center, with the benefits of using the scalable infrastructure of AWS.
If you haven’t created a Virtual Private Cloud already, you can create on by following Create a Virtual Private Cloud blog.
Note: If your account supports EC2-Classic in a region, then you do not have a default VPC in that region. T2 instances must be launched into a VPC.
Create a Security Group
In AWS, Security groups act as a firwall for associated instances, controlling both inbound and outbound traffic at the instance level.
You must add rules to a security group that enable you to connect to your instance from your IP address using SSH. You can also add rules that allow inbound and outbound HTTP and HTTPS access from anywhere.
Follow the Create AWS Security Group blog for detailed steps to create security group on AWS.
Note that if you plan to launch instances in multiple regions, you’ll need to create a security group in each region.
872 total views, 1 views today