From Fedora Project Wiki
Description
Launch Fedora Cloud Base Images in Amazon Web Services from the published
images.
Setup
NOTE: You are not required to run this test case. If you don't already have an account or don't want to create one then skip this test.
- Create an Amazon AWS account.
How to test
- Pick the region in either the
x86_64 AMIs
or theaarch64 AMIs
list of Cloud Base Images for Amazon Public Cloud nearest your physical location and click thelaunch
column cloud icon. The cloud icon is the link to your selected region's image. Once you click it, you will be redirected to the AWS web console. - Follow the Launch Instance Wizard documentation on Amazon Web Services (AWS) documentation to launch the image on Amazon EC2 using the identified AMI image ID.
- Use the provided instructions in AWS to SSH to the new Fedora instance using
ssh username@ipaddress
(replace username and ipaddress with actual values).- If you did not provide a custom userdata file and only provided an SSH key-pair name, then the default username to use is
fedora
.
- If you did not provide a custom userdata file and only provided an SSH key-pair name, then the default username to use is
- Don't forget to terminate your instance after you're done with testing, so that you don't end up paying for a continuously running instance.
Expected Results
- The system launches in AWS according to the instructions.
- You can connect through SSH.
- The linked documentation is clear, all steps are understandable, and nothing important is missing from it.
Optional
- Instead of providing just a SSH key-pair, familiarize yourself with cloud-config and create more advanced testing of the provisioning and file writing actions. We'll add some examples to the documentation shortly. Then run this test case again, this time using your custom cloud-config file.
- Instead of launching the AWS instance from the launch command. Use the awscli tools packaged with Fedora. You can also use the AWS web interface to locate and launch the AMI. You can also create your own image using the Cloud Base compressed raw image from the download page.