From Fedora Project Wiki

Revision as of 11:26, 1 July 2022 by Davdunc (talk | contribs) (First Cloud test case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Launch Fedora Cloud Base Images in Amazon Web Services from the published images.

Free of charge

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.

  1. Create an Amazon AWS account.

How to test

  1. Pick the region in either the x86_64 AMIs or the aarch64 AMIs list of Cloud Base Images for Amazon Public Cloud nearest your physical location and click the launch 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.
  2. 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.
  3. 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.
  4. 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

  1. The system launches in AWS according to the instructions.
  2. You can connect through SSH.
  3. The linked documentation is clear, all steps are understandable, and nothing important is missing from it.

Optional

  1. 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.
  2. 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.