What is Compute?
The course is part of these learning paths
Understanding the fundamentals of AWS is critical if you want to deploy services and resources within the AWS Cloud. The Compute category of services are key resources that allow you to carry out computational abilities via a series of instructions used by applications and systems. These resources cover a range of different services and features, these being:
- EC2 - Amazon Elastic Compute Cloud
- ECS - Amazon Elastic Container Service
- ECR - Amazon Elastic Container Registry
- EKS - Amazon Elastic Container Service for Kubernetes
- AWS Elastic Beanstalk
- AWS Lambda
- AWS Batch
- Amazon Lightsail
This course will provide the fundamental elements of all of these Compute services and features that will allow you to select the most appropriate service for your project and implementations. Each have their advantages by providing something of value that’s different to the others, which will all be discussed.
Topics covered within this course consist of:
- What is Compute: This lecture explains what 'Compute' is and what is meant by Compute resources and services
- Amazon Elastic Compute Cloud (EC2): This is one of the most common Compute services, as a result this will likely be the longest lecture as I want to cover a lot of elements around EC2 to ensure you are aware of how it’s put together and how it works
- Amazon ECS (EC2 Container Service): Within this lecture I will provide a high level overview of what the EC2 Container Service is and how it relates to Docker
- Amazon Elastic Container Registry: In this lecture I explain how this service links closely with ECS to provide a secure location to store and manage your docker images
- Amazon Elastic Container Service for Kubernetes (EKS): Here I look at how EKS, provides a managed service allowing you to run Kubernetes across your AWS infrastructure without having to take care of running the Kubernetes control plane
- AWS Elastic Beanstalk: This lecture will provide an overview of the service, showing how it’s used to automatically deploy applications using EC2 and a number of other AWS services.
- AWS Lambda: This lecture covers the Lambda ‘serverless’ service, where I shall explain what serverless means and how this service is used to run your own code in response to events.
- AWS Batch: Here I will provide a high level overview of this service that relates to Batch Computing
- Amazon Lightsail: Finally we will look at Amazon Lightsail, a Virtual Private Server solution used for small scale projects and use cases
If you want to learn the differences between the different Compute services, then this course is for you!
With demonstrations provided, along with links to a number of our Labs that allow you to gain hands on experience in using many of these services will give you a solid understanding of the Compute services used within AWS.
If you have thoughts or suggestions for this course, please contact Cloud Academy at email@example.com.
Resources referenced within this lecture:
Hello and welcome to this short lecture covering Amazon Lightsail. This is another compute service that in some respect closely resembles EC2 out of all the other compute resources we have covered so far. Amazon Lightsail is essentially a virtual private server, A VPS, backed by AWS infrastructure, much like an EC2 instance but without as many configurable steps throughout its creation.
It has been designed to simple, quick, and very easy to use at a low cost point for small-scale use cases by small business or for single users. With its simplicity and small-scale use, it's commonly used to host simple websites, small applications, and blogs. You can run multiple Lightsail instances together, allowing them to communicate. And it's even possible if required to connect it to other AWS resources and to your existing VPC, running within AWS via a peering connection.
To deploy a Lightsail instance, it's easy to do all from a single page with just a few configuration options. Amazon Lightsail can be accessed either via the AWS console under the compute category, or you can go directly to the homepage of AWS Lightsail, which sits outside of the Management Console and can be found here.
If you want to launch a new instance, select create instance, where you can then create your instance all from just one page of options. Nice and simple. Firstly, you need to select your region and availability zone as required as to where you'd like to provision your Lightsail instance. Next, you can select your platform, Linux or Windows based, and then additional blueprint if required. If you didn't need a blueprint, you can simply select to use the operating system only. Next, you have the option to add a launch script and a different key pair. The launch script can be a shell script that will run at the time of the launch, much like user data for an EC2 instance. By default, you are provided with a key pair to connect to your instance. However, you can select to choose an alternative one if required. Following this, you must then select your instance plan. This section defines the resources of your instance and how much you're going to be paying on a monthly basis. The price per month option shows preset configurations based on memory, processing power, storage, and data transfer. However, you can tab through the corresponding tabs and customize the values of each to meet your needs. As you can see, it's very clear, simple, and obvious as to what you will be paying and the resources you will get in return. The instances are charged as an on-demand price, so you'll only pay for the resource when you're using them. The dollar per month price is based on having the instance on continuously, which AWS calculates as 31.25 days multiplied by 24 hours.
The configuration options requires you to provide a unique name for your Lightsail instance. In addition to this, you're also prompted to add key-value tags to help organize your resources. Now all of your configuration is complete. Simply click on create instance. As you can see, it's very easy and simple to create your Lightsail VPS compared to number of different screens and configuration options required when deploying an EC2 instance. Once your Amazon Lightsail service is up and running, you then have a number of management and monitoring options, which are clear and easy to use. Connect. This option allows you to connect to your newly created instance using SSH either via inline SSH software provided by Lightsail or with your own SSH software using the key pair provided. The instance has given a public IP to allow you to connect. Storage. This provides an overview of your current storage, showing the capacity and the disk path. For example, /dev/sda1. You also have the ability to attach additional disks to your instance. Metrics. This allows you to view graphical metrics of your instance, such as CPU utilization, network in, network out, StatusCheckFailed, StatusCheckFailed_Instance, and StatusCheckFailed_System. These graphs can be viewed over a number of different time periods, from one hour through to two weeks. Networking. The networking tab allows you to view your IP address information along with a very simple virtual file, allowing you to control which ports your instance can accept connections from. You can also gain additional information on load balancing your traffic between instances. Snapshots. This provides a simple way to backup your instance. Tags. Here you can configure additional or edit existing tags to help you filter and organize your resources. Key-value tags can also be used to help manage your billing and control access. History. This provides simple order information of your instance, such as the date and time the instance was created or when configuration changes occurred. Delete. When you have finished with your instance, this tab allows you to delete your instance along with any data that was stored in it.
As you can see, Amazon Lightsail provides a lightweight solution for small projects and use cases which can be deployed quickly and cost effectively in just a few clicks. That brings us to the end of this lecture. Coming up next, I'll provide a summary of the key points and topics that we've learned throughout this course.
About the Author
Stuart has been working within the IT industry for two decades covering a huge range of topic areas and technologies, from data centre and network infrastructure design, to cloud architecture and implementation.
To date, Stuart has created 60++ courses relating to Cloud, most within the AWS category with a heavy focus on security and compliance
He is AWS certified and accredited in addition to being a published author covering topics across the AWS landscape.
In January 2016 Stuart was awarded ‘Expert of the Year Award 2015’ from Experts Exchange for his knowledge share within cloud services to the community.
Stuart enjoys writing about cloud technologies and you will find many of his articles within our blog pages.