Amazon Elastic Compute Cloud (Amazon EC2) is a spider web service that provides secure, resizable compute capacity in the cloud. EC2 offers many options that enable you to build and run virtually any awarding. With these possibilities, getting started with EC2 is quick and easy to exercise. This page provides you the resources to get y'all started with EC2 instances.

Getting More Out of Amazon EC2

Familiarize Yourself with EC2 Instances

Step 1

Log Into Your AWS Account

Log into the AWS Direction Console and ready your root account. If you don't already take an business relationship, you will be prompted to create one.

With the AWS free tier, yous can get 750 hours/month of select EC2 instances for free.

Step 2

Launch Your Instance

Place which example type is all-time for your workload. For your first case, we recommend a low cost, full general purpose instance type: t2.micro, and Amazon Auto Image (AMI): Amazon Linux ii AMI, which are both gratuitous-tier eligible.

Open the Amazon EC2 dashboard and choose "Launch Instance" to create your virtual machine.

Step 3

Configure Your Case

Here are some guidelines when setting up your first example:

  • Security grouping: Create your ain firewall rules or select the default VPC security group.
  • Storage: EC2 offers both magnetic disk and SSD storage. We recommend EBS gp2 volumes to start out with.
  • Choose "Launch Instances" to complete the ready upwardly.

* Note: We volition utilize the key pair file (.pem) after.

output-onlinepngtools (5)

Connect to Your Example

After launching your example, you can connect to information technology and apply it the mode yous'd employ a figurer sitting in front end of you. There are several means to connect to the console depending on the operating arrangement. We recommend using EC2 Instance Connect, an easy to use browser based client.

  • Select the EC2 example you created and choose "Connect."
  • Select "EC2 Instance Connect."
  • Cull "Connect". A window opens, and you are connected to your instance.

output-onlinepngtools (4)

Terminate Your Case

Amazon EC2 is free to start (larn more), just it is of import that you terminate your instances to prevent boosted charges. The EC2 example and the data associated will be deleted.

Select the EC2 instance, choose "Actions", select "Instance Land", and "Terminate".

Tutorials

Get hands-on with these 10 minute tutorials and technical documents.

Amazon EC2


Learn how to install the Apache spider web server with PHP and MySQL support on your Amazon Linux example (sometimes called a LAMP web server or LAMP stack) with this stride-by-pace tutorial. You can use this server to host a static website or deploy a dynamic PHP application that reads and writes data to a database.

Amazon EC2


Larn how to remotely run commands on an EC2 Case, train a deep learning model, and more. These pace-by-stride tutorials teach you different ways to introduce with EC2.

Amazon Lightsail

product-icon_Amazon_Lightsail_icon_squid_ink_125

Lightsail is an easy-to-use cloud platform ideal for simpler workloads, quick deployments, and getting started on AWS. If you're new to the cloud, Lightsail provides you everything yous need to build an application or website, plus a cost-effective, monthly programme. Watch these hands-on Lightsail tutorials to quickly bring your projects to life, and ramp upward to AWS infrastructure. To decide if Lightsail or EC2 is for you, accept a look at this side-by-side comparison of the cloud solutions.

Enhance your Productivity with EC2

Using EC2 is just the beginning to making deject computing easier for you. Tailor your EC2 experience with services that will extend your productivity through high performing block storage, tools that allow your application to scale based on demand, and fault-tolerant workloads for up to 90% off.

EBS is an piece of cake to use, high functioning cake storage service designed for apply with EC2 for both throughput and transaction intensive workloads at any scale.

EC2 Auto Scaling helps y'all maintain application availability and allows you to automatically add or remove EC2 instances according to conditions you ascertain.

EC2 Spot Instances offer spare compute capacity in the AWS cloud at steep discounts compared to On-Demand Instances.

User Guides and Resource

Boosted resources

Documentation & downloads


Standard Product Icons (Features) Squid Ink

Find product resource

There are many resource to help you lot learn how to build with Amazon EC2.

Learn more

Sign up for a free account

Sign upwardly for a gratis business relationship

Instantly become access to the AWS Gratuitous Tier.

Sign up

Standard Product Icons (Start Building) Squid Ink

Get-go edifice in the console

Get started building with Amazon EC2 in the AWS Console.

Sign in