This article will walk you through the process of identifying the correct Amazon Machine Image (AMI) for your project, using the AWS Console, the AZ CLI and the AZ Powershell module.
Because a Tuono Blueprint is written in YAML, you can define multiple unique image stanza and use these for multiple VMs within the same Blueprint.
If you are not already logged in, please select the region that you wish to deploy to.
From here select Images/AMIs in the left-hand menu.
From here you can use the GUI tools to search and filter the results to arrive at the image that you require. You can select Public, Private and Owned by me. Additionally, if you click the search bar, you can select any of the attributes (columns) and search within them.
Once you have found your image, take a note of the AMI ID field as you'll need this later
Using the AWS CLI
If you prefer to use the Cloud Shell, then you can start immediately with the AWS CLI
Identifying AMIs
To identify the appropriate image, you can use the describe-images subcommand. In this example, I am filtering for my region, images supplied by Amazon and matching the field platform=windows.
This will return (multiple examples of):
Once you have found your image, take a note of the ImageId field as you'll need this later.
Local CLI Initial Login
To do the initial configuration of a local CLI installation, you can issue the command:
This will then prompt you to enter the following information:
The credentials you generated to log in to the Tuono Portal are suitable for registering the AWS CLI.
If you would like to interrogate the configuration, you can issue the following two commands:
Using the AMI
The final step is to take the AMI ID/ImageId and add that to the Blueprint. Using the example from the AWS CLI example, it might look something like this:
And that's it. You are now ready to go ahead and deploy your image.