From Fedora Project Wiki
(initial test case for fedora AMIs on EC2) |
(updated after comments on test case content) |
||
Line 7: | Line 7: | ||
More documentation on interacting with EC2 is available in [http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/ Amazon's AWS Getting Started Guide]. | More documentation on interacting with EC2 is available in [http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/ Amazon's AWS Getting Started Guide]. | ||
|setup= | |setup= | ||
# Get an AWS account | # Get an AWS account (the approval process can take hours) | ||
# Make sure that your security group allows for SSH (default tcp port 22) | # Make sure that your security group allows for SSH (default tcp port 22) | ||
# Log in to the AWS Management Console | # Log in to the AWS Management Console | ||
|actions= | |actions= | ||
# Obtain the AMI id of the newest Fedora image from [[Cloud_images | the list of Fedora AMI ids]]. | # Obtain the AMI id of the newest Fedora image from [[Cloud_images | the list of Fedora AMI ids]]. | ||
# Search for and select the AMI on the EC2 console | # Search for and select the desired AMI on the IMAGES/AMIs section of the EC2 console | ||
# Launch an instance with the AMI under test | # Launch an instance with the AMI under test | ||
# Log in to the launched AMI using the ec2-user user and the SSH keypair selected during instance launch | # Log in to the launched AMI using the ec2-user user and the SSH keypair selected during instance launch | ||
Line 18: | Line 18: | ||
|results= | |results= | ||
# The AMI launches successfully | # The AMI launches successfully | ||
# You can login to the instance over SSH as ec2-user and you have sudo access | |||
# You can install packages from the yum repositories | |||
# The instance doesn't crash or show any errors that aren't present in a bare-metal system | # The instance doesn't crash or show any errors that aren't present in a bare-metal system | ||
}} | }} |
Revision as of 18:51, 9 January 2012
Description
A simple validation test case for Fedora images on Amazon EC2, the specific actions used after spawning the instance are not important as anything beyond successfully spawning an instance from a Fedora AMI is covered by other test cases not specific to EC2.
More documentation on interacting with EC2 is available in Amazon's AWS Getting Started Guide.
Setup
- Get an AWS account (the approval process can take hours)
- Make sure that your security group allows for SSH (default tcp port 22)
- Log in to the AWS Management Console
How to test
- Obtain the AMI id of the newest Fedora image from the list of Fedora AMI ids.
- Search for and select the desired AMI on the IMAGES/AMIs section of the EC2 console
- Launch an instance with the AMI under test
- Log in to the launched AMI using the ec2-user user and the SSH keypair selected during instance launch
- Using a workflow you are familiar with, install packages and verify basic functionality
Expected Results
- The AMI launches successfully
- You can login to the instance over SSH as ec2-user and you have sudo access
- You can install packages from the yum repositories
- The instance doesn't crash or show any errors that aren't present in a bare-metal system