Deploying Ubuntu as an AWS EC2 instance
With a great deal of discussion out of the way, it's time to create an actual Ubuntu deployment in the cloud. This will allow us to see the AWS service in action and give us some working experience with the EC2 service. This requires two individual steps: the first to create a required IAM role, and the second to create our instance. Let's first make sure we understand the requirements of the IAM role, then we'll set up the role and then create our new instance.
Setting up an IAM Role for Session Manager
Session Manager is a service within AWS, which we can use to access a command prompt for our instance. It's actually part of Systems Manager and not its own service. If you want to access Session Manager, you will need to search for Systems Manager, and you'll find Session Manager as a service underneath that. You'll see this shortly.
Why should we use Session Manager? Just like with any other Linux...