From Fedora Project Wiki

m (small layout fix)
m (clarify EBS)
Line 26: Line 26:
# Step #2 completes without error (indicated on console)
# Step #2 completes without error (indicated on console)
# Program completes with exit code 0
# Program completes with exit code 0
# AMI boots successfully, and can log into the EC2 appliance without error
# AMI boots successfully, and can log into the EBS AMI appliance without error, and instance data survives reboots
# [[QA:Network_basic_test_case]] is performed successfully on the new appliance
# [[QA:Network_basic_test_case]] is performed successfully on the new appliance
}}
}}

Revision as of 17:04, 22 April 2011

Description

Deliver an appliance to Amazon EBS, from an Amazon EC2 instance. You cannot deliver to EBS outside of an EC2 instance.

Setup

Note.png
You need an Amazon AWS account to perform this Test Case
plugins:
  ebs:
    access_key: AWS_ACCESS_KEY                        # required
    secret_access_key: AWS_SECRET_ACCESS_KEY          # required
    account_number: AWS_ACCOUNT_NUMBER                # required
    delete_on_termination: false                      # default: true

How to test

  1. Navigate to directory boxgrinder-appliances/testing-appliances/jeos-appls/
  2. Execute
    boxgrinder-build fedora-15-jeos.appl -p ec2 -d ebs
  3. Once completed, a JEOS EBS should be available. Launch an instance.
  4. Log into the EBS instance via SSH with user: ec2user password: boxgrinder
  5. Run the following Test Case in the VM: QA:Network_basic_test_case

Expected Results

The following must be true to consider this a successful test run.

  1. Step #2 completes without error (indicated on console)
  2. Program completes with exit code 0
  3. AMI boots successfully, and can log into the EBS AMI appliance without error, and instance data survives reboots
  4. QA:Network_basic_test_case is performed successfully on the new appliance