Open main menu

CDOT Wiki β

Changes

OPS345 Lab 1

789 bytes added, 03:52, 9 December 2021
First AWS VM
[[File:AWSCreateSecurityGroup.png|800px|border|center]]
== Create firstvm ==
 
In AWS language an '''instance''' is what you've called a '''virtual machine''' in OPS245. An '''AMI''' is a '''pre-built disk image''' of an operating system, provided so that you don't need to install an operating system from scratch. The AMIs are typically provided by Amazon or the AWS community.
 
An AMI is only the initial disk image your VM will start with. As soon as the VM is booted for the first time: your disk image will begin to deviate from the original. That means for example that you have to keep up with security updates on it even though the AMI you used had all the security updates installed when you used it to bootstrap your instance.
 
With an AWS Academy account you can see what AMIs are available on AWS, but your selection is severely limited. We'll only be using the '''Amazon Linux''' AMI. You'll find it quite familiar as it was originally based on CentOS.
* Instance == VM. AMI == VM disk image.
* Lots of AMIs appear to be available, only Amazon Linux works with AWS Academy.
* Use "Launch Instances" to deploy a pre-built "Amazon Linux 2 AMI (HVM), SSD Volume Type" VM. Not one of the other Amazon Linux AMIs.
** Instance type t2.micro - sort of kind of almost free