logo
  • Blog
  • The Cloud
  • DevOps
  • Trending
    • Blockchain
    • Bitcoin
  • How To
  • Kubernetes

How to setup Amazon EC2?

Posted on November 21, 2016

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.

  1. Sign Up for AWS
  2. Create an IAM User
  3. Create a Key Pair
  4. Create a Virtual Private Cloud (VPC)
  5. 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.

819 total views, 2 views today

How to setup Amazon EC2? was last modified: December 25th, 2017 by Sushil Verma
Share on Facebook
Facebook
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Email this to someone
email
Posted in Amazon EC2, Amazon Web Services |
« How To Use Linux Bash History Commands
IBM Cloud Bluemix – Platform as a Service (PaaS) for beginners! »

Leave a comment Cancel reply

Your email address will not be published.

Latest Blogs

  • Cluster Level Logging in Kubernetes
  • AWS Lambda – Copy more than 5 EC2 Snapshots automatically between regions
  • AWS Lambda – Copy EC2 Snapshot automatically between regions
  • Jenkins installation
  • Using IBM Bluemix CLI

Tags

Amazon EC2 AWS bash_shell bitcoin blockchain Cloud computing digital currency Linux trending ubuntu

For Improving Education

Categories

  • Amazon EC2
  • Amazon Web Services
  • Bash shell
  • Bitcoin
  • Blockchain
  • Chaincode
  • CLI
  • Cloud Computing
  • Cloud Security
  • CryptoCurrency
  • Cryptography
  • Digital Currency
  • EC2 Lambda
  • Hyperledger
  • IBM Bluemix
  • IBM Garage
  • Linux
  • OpenStack
  • Platform as a Service
  • TDD
  • Trending
  • Ubuntu
  • Virtual Server
Home | Site Map | Privacy Policy | Site Terms | Terms of use @2013, Times of Cloud.
The content is copyrighted to 'Times of Cloud' and may not be reproduced on other websites.