The executives have tasked you with exploring and comparing the cloud platform vendors so you can make recommendations on the best fit for BallotOnline's IT needs. You will examine Amazon Web Services (AWS) by getting an account and creating a test page to assess the usability of the product. The following instructions will guide you through the process of getting an Amazon Web Service account, completing the AWS Project 4 lab assignment, and cleaning up your cloud after your project has been graded to avoid future unexpected charges to your account. If you have trouble completing any of the steps below, contact your instructor for help.
Part A: AWS Sign-Up Instructions Step 1: Apply for AWS Educate
● Go to AWS Educate. ● Click on “Join AWS Educate”
Used with permission from Amazon Web Services.
● On the next screen, click "Student". ● Note: You do not need a credit card and there are some restrictions on AWS
usage in the account. After you graduate, you can no longer keep using the account. You can't link the account to any other account. You can't apply any additional AWS promotional credit to the account.
https://aws.amazon.com/education/awseducate/
Used with permission from Amazon Web Services.
Step 2: Enter Your AWS Educate Information
● For Institutional Name, enter "University of Maryland Global Campus". ● Select “United States” for the Country. ● Note: Use your UMUC student e-mail address. (This account is for only active
students and AWS will only approve accounts that uses active xxxx@xxxx.edu addresses)
● Completed the rest of the information. ● Complete the security challenge. ● Click “Next”. (Leave the promo code option blank). ● Read the “Terms and Conditions”, check the “I Agree” box and click “Submit”.
Used with permission from Amazon Web Services.
mailto:xxxx@xxxx.edu
● You will receive an e-mail from AWS Educate Support with the title "Email Verification - AWS Educate Application."
● After you complete the application process, AWS will send you an email with the title “Thank You for Applying for AWS Educate”. This email includes details such as how to check the status of your application and how to contact AWS Educate support with any questions.
Step 3: Complete the Account Setup ● After AWS Educate approves your application, AWS will send you an email with the
title “AWS Educate Application Approved”. Note that the approval process might take a day or longer. Do not go past this step in this procedure until you get this approval. There is good information in this welcome e-mail, including links to free training videos and the AWS Educate Student Portal.
Used with permission from Amazon Web Services.
● Click on the “click here” link to setup your AWS educate password.
Step 4: Create AWS Educate Starter Account
● Go to AWS Educate (and sign into your account if required) ● On the top right, click “AWS Account".
https://www.awseducate.com/student/s/
Used with permission from Amazon Web Services.
● On the next page, click on “Create Starter Account”.
Used with permission from Amazon Web Services.
● The next page displays information on the $100 credit and a link to the AWS classroom. ● Click on the link as shown below to go your classroom.
Used with permission from Amazon Web Services.
• Read and agree to the “terms and conditions”. • On the next page, you will see your $100 credit and my classes, including additional
information.
Used with permission from Amazon Web Services.
• On the next page, you will see your $100 credit and my classes, including additional
information.
• Note: The AWS Starter Account allows you to create a student account with AWS educate and receive an initial $100 to explore AWS services. For your classes, you will be using the AWS Classroom, which is created on AWS Educate Virtual space for your specific course and preloaded with AWS account credits for your CCA class projects. Each CCA course will have a separate associated AWS classroom.
Step 5: Access your AWS Classroom
● Go to AWS Educate (and sign into your account if required). ● Note: Your will be rostered into your AWS classroom and so when you login, you
should see “My Classrooms” at the top right as should below.
Used with permission from Amazon Web Services.
● Click on “My Classrooms” and accept the invitation to join the class.
Used with permission from Amazon Web Services.
https://www.awseducate.com/student/s/
● Click on “Go to classroom” to access the CCA 610 class. ● Note: You will see another account credit. This account credit is assigned to the course.
Your Starter Account (i.e. $100) is still available for use, if not used already. You can view that by clicking on “My Classes” as shown below.
Used with permission from Amazon Web Services.
Part B: AWS Project Instructions Now that you have the account set up, you can begin the lab activity. Here, you will use the AWS Elastic Beanstalk, a service for deploying and scaling web applications, to migrate a simple web application, consisting of a single PHP web page. You will be following the basic steps described on the Launch an Application with AWS Elastic Beanstalk tutorial, with one exception: instead of a pre-built PHP application provided by Amazon, we will use our simple web application, contained in the zip file linked in Step 5, below. Step 1: Sign In to AWS Educate
● Go to AWS Educate ● Sign in to the account that you created. ● Go to My classrooms and select your class. ● Click on AWS Console
Used with permission from Amazon Web Services
Step 2: Go to the Elastic Beanstalk Dashboard
● After you sign in, you will land on the AWS Management Console. ● Click on "Services" in the top left menu. ● Under Compute, click on "Elastic Beanstalk," which will land you on the Elastic
Beanstalk dashboard.
https://aws.amazon.com/elasticbeanstalk/
https://aws.amazon.com/getting-started/tutorials/launch-an-app
https://www.awseducate.com/student/s/
Used with permission from Amazon Web Services.
● Click "Create New Application" on the top right.
Used with permission from Amazon Web Services.
Step 3: Create the Application
● Enter Application Name: BallotOnlinePOC-, and a short description.
Used with permission from Amazon Web Services.
● Click "Create." ● Note: If you get an error message, it may be because the application name you've
entered is not unique. Try adding a number to the end of the application name. Step 4: Create an Environment for the Application
● You will see a message saying that "No environments currently exist for this application." ● Click "Create one now" to create an environment for the application.
Used with permission from Amazon Web Services.
● Select "Web server environment"
Step 5: Specify the New Environment Properties
● On the next screen, specify the new environment properties. ● Check "Preconfigured Platform" and choose PHP.
● For Application code, check "Upload your code" and upload this zip file BallotOnlinePOC-AWS.zip.
● Copy the file to your machine and browse for it in the "Upload your code" screen. ● Leave the default version as "label."
Used with permission from Amazon Web Services.
Step 6: Create the Environment
● Click "Create Environment" on the bottom right.
https://content.umgc.edu/file/c91e7ce0-9040-442d-b244-0b511f07cbad/4/BallotOnlinePOC-AWS.zip
Used with permission from Amazon Web Services.
● Wait for the environment creation to finish. ● Watch the creation messages. Note: This step could take several minutes.
Used with permission from Amazon Web Services.
Step 7: Confirm the Application Is Deployed
● Once the application is deployed and running, it will be shown on the Elastic Beanstalk dashboard as "green" (Health Ok).
Step 8: Visit Your Webpage
● Click on the application URL.
Used with permission from Amazon Web Services.
● You should see the "Congratulations" web page.
Used with permission from Amazon Web Services.
Step 9: Submit the AWS Proof of Concept to the Instructor
● Leave the application running. ● In Project 4, under Generate AWS Proof of Concept (POC), enter your application
URL directly in the step submission input field.
Part C: AWS Project Cleanup Instructions (After Project Is Graded) Once you have received your final grade for the project from the instructor, you will need to terminate and delete the Beanstalk app to avoid additional charges to your AWS account. Step 1: Sign in to the AWS Console
● Go to the AWS Console Log-in Page. ● Sign in to the account that you have created.
Step 2: Go to the Application
● After you sign in, you will land on the AWS Management Console. ● Under Compute, click on "Elastic Beanstalk," which will land you on the Elastic
Beanstalk dashboard. ● Click on the application that you have created.
Used with permission from Amazon Web Services.
Step 3: Terminate the Environment
● Click the "Action" drop-down box in the upper right corner. ● Then select "Terminate Environment."
http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/checklistforunwantedcharges.html
https://console.aws.amazon.com/
Used with permission from Amazon Web Services.
● Enter the name of the environment (you can copy and paste from the top of the screen).
Used with permission from Amazon Web Services.
● ("Permanently terminate XXXXXXXXXX? This action cannot be undone"). ● Click "Terminate." Wait for the process to complete. ● You will see a confirmation message like this:
Used with permission from Amazon Web Services.
● Note: This could take several minutes.
Step 4: Delete Application
● Click on the "Action" drop-down box in the upper right corner again. ● Then select "Delete Application."
Used with permission from Amazon Web Services.
● Click the red "Delete" button when prompted.
Step 5: Delete the S3 Storage Bucket ● Click the "Console Home" icon (orange cube) in the upper left corner of the screen to go
back to the main AWS console.
Used with permission from Amazon Web Services.
● Under AWS services, click on "S3" under "Storage." (You may need to click "All
services" to expand the menu in order to see this option.)
Used with permission from Amazon Web Services.
● We now need to delete the S3 storage bucket that was created with the Beanstalk app. ● Click the "Properties" icon (bucket) to the left of the S3 object to open the properties list.
Used with permission from Amazon Web Services.
● In the menu on the right, click "Permissions" to expand the properties.
Used with permission from Amazon Web Services.
● Click "Bucket Policy" and then click "Delete" and click "OK" to confirm, if prompted.
Used with permission from Amazon Web Services.
● Click the Orange "Amazon S3" icon to get back to the main list of buckets, then highlight the bucket you created for this project and click "Delete bucket" above it.
Used with permission from Amazon Web Services.
● Enter the bucket name. You can copy and paste the name directly from the question
prompt.
Used with permission from Amazon Web Services.
● Click "Delete." Step 6: Verify that the S3 Storage Bucket Is Deleted
● Make sure you don't have any S3 buckets left (from the Beanstalk app that you created for this project). You should see a screen with a message stating "You do not have any buckets."
Used with permission from Amazon Web Services.
Step 7: Confirm App Is Deleted
● Enter your app URL in a browser to confirm that the page is down. ● You should now see either an error message or blank screen when you go to your app
URL.