RMS Technology Consulting RMS Technology Consulting
(781) 519-9398
info@rmstechconsulting.com
0
  • Twitter
  • Google Plus
  • Home
  • Register For A Live Class
  • Our Training Products
    • Live Instructor Led Virtual Classes
    • On Demand Video Library
    • Technology Books
    • AWS Participant Resources
      • AWS Security Essentials
      • AWS Networking Labs
      • AWS Business Essentials labs
      • AWS Sys Ops 2
      • awsarchlabs
      • awssysops1
      • awsdevelopinglabs
      • AWS Technical Essentials labs
  • On Demand Videos
  • Latest Articles
  • Strategy Consulting
  • Contact
  • Home
  • Register For A Live Class
  • Our Training Products
    • Live Instructor Led Virtual Classes
    • On Demand Video Library
    • Technology Books
    • AWS Participant Resources
      • AWS Security Essentials
      • AWS Networking Labs
      • AWS Business Essentials labs
      • AWS Sys Ops 2
      • awsarchlabs
      • awssysops1
      • awsdevelopinglabs
      • AWS Technical Essentials labs
  • On Demand Videos
  • Latest Articles
  • Strategy Consulting
  • Contact
  • Home
  • AWS Participant Resources
  • AWS Sys Ops 2

AWS Sys Ops 2

Labs For Sys Ops 2 Class

Lab 1- Bootstrap An Instance/ Create Web Server

  1. Create a Amazon linux 2, free tier instance and pass the following in user data field:

#!/bin/bash
yum update -y
amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2
yum install -y httpd mariadb-server
systemctl start httpd
systemctl enable httpd
usermod -a -G apache ec2-user
chown -R ec2-user:apache /var/www
chmod 2775 /var/www
find /var/www -type d -exec chmod 2775 {} \;
find /var/www -type f -exec chmod 0664 {} \;
echo "<?php phpinfo(); ?>" > /var/www/html/phpinfo.php

2. Add an inbound security group rule for http traffic over port 80 when creating the instance

3. Test the link modify the url with your public dns information for your instance http://my.public.dns.amazonaws.com/phpinfo.php

Lab 2- CloudFormation

Part 1 create a stack with cloud formation- Template default is Oregon region

  1. create a stack with cloud formation using the cloud formation template for DynamoDB table
  2. Enter your settings for your Primary Key- Set Primary key id to ProductID
  3. Review your settings and create your stack

Part 2 Initiate a change set for your stack

  1. Initiate a change set and Update template in the console - change the Primary Key ID
  2. Execute the change set relaunch

CloudFormation URL To Template

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/sample-templates-services-us-west-2.html#w2ab1c27c58c13c15

Lab 3- Elastic Bean Lab

1. Deploy an application package to elastic beanstalk

Elastic Beanstalk Sample Deployment File

nodejs-v1

Deploying a New Application Elasticbeanstalk

Lab 4- CodeCommit Lab

  1. Login to the AWS Console and go to CodeCommit under developer tools
  2. Step 1: Create an AWS CodeCommit Repository
  3. Step 2: Add Files to Your Repository
  4. Step 3: Browse the Contents of Your Repository
  5. Step 4: Create and Collaborate on a Pull Request
  6. We will stop this lab at step 4 and clean up at the end of the day

To Delete Your Repository:

To delete the AWS CodeCommit repository

  1. Open the AWS CodeCommit console at https://console.aws.amazon.com/codesuite/codecommit/home.

  2. In Repositories, choose the repository you want to delete. If you followed the naming convention in the lab, it is named MyDemoRepo.

  3. In the navigation pane, choose Settings.

  4. On the Settings page, in Delete repository, choose Delete repository.

  5. Type delete, and then choose Delete. The repository is permanently deleted.

Lab 5- CodePipeline Lab- Use S3 as the source

  1. Set up a Continuous Deployment Pipeline using AWS CodePipeline

Lab 6- Part 1 Autoscaling Lab

  1. Make an AMI in the console of your bootstrapped web server from lab 1

From the EC2 menu go to Instances​, select your instance, and then choose
Actions​,Image​, Create​ ​Image​.

       2. Create a classic load balancer

3. Setup Autoscaling with our created AMI and Load Balancer, add a security group rule for http and https traffic.

  1. Navigate to the EC2 menu and select AutoScaling Groups towards the end of the page
  2. Click the blue “create auto scaling group” button from the top of the autoscaling group page
  3. After going through the wizard to create a launch template Create an autoscaling group with these instructions
  4. Verify your autoscaling group
  5. At the end of class Delete your autoscaling infrastructure

Part 2 Vertical scaling demo

  1. EC2 Instances
  2. EBS Volumes

Lab 7 - ECS Elastic Container Service Lab

  1. Deploy A Docker Container On Amazon ECS

Lab 8 Kinesis Lab 

*Kinesis Lab must be completed in northern va region

S3 Url for lab: https://s3.amazonaws.com/kinesis-demo-bucket/amazon-kinesis-data-visualization-sample/kinesis-data-vis-sample-app.template

  1. Create The Kinesis Streams Data Visualization Sample Application In CloudFormation
  2. View The Kinesis Stream Details
  3. View The Created DynamoDB Tables

Alternate Kinesis lab:

  1. Create a Kinesis Data Stream

Lab 9- Lambda Lab

1. Run a Serverless “Hello, World!  

We will clean up at the end of class

PDF of class book

EFFECTIVE_DEVOPS_WITH_AWS (1)

Exam prep guide

SysOps Exam Guide

 

Lab 10- CodeDeploy Lab- Bonus Lab (After Class)

  1. Use CodeDeploy to Deploy an Application to an Amazon EC2 Auto Scaling Group

Categories

  • Best Practices
  • Blog
  • Career Advice
  • Cloud
  • DevOps
  • Quality Assurance
  • Software Development
  • Uncategorized

Recent Posts

What is Kubernetes and how does it differ from Docker?
25Feb,2020
Open Source Performance Testing Tools- Testing On A Budget
21Dec,2018
What is Docker and how does it help DevOps teams?
25Oct,2018

Tags

a description of cloud Agile Best Practices Agile Testing aws lambda Best Careers In IT cloud computing cloud technology containerization docker containers docker engine docker hub docker on aws How QA Works In Agile jmeter Jobs In IT microservices open source performance testing tools performance testing QA Testing serverless What is Agile What is docker what is serverless computing what is the cloud

Get in touch

(781) 519-9398

info@rmstechconsulting.com

22 River st., Braintree, Massachusetts, US.

Useful Links

  • About RMS Technology
  • Contact
  • Custom Development
  • Privacy policy

Social Links

  • Facebook
  • Twitter
  • Google Plus

Newsletters

Subscribe to get updates right in your inbox. We promise to not send you spam.

Copyright 2018 RMS Technology Consulting, LLC

  • Home
  • Register For A Live Class
  • Our Training Products
    • Live Instructor Led Virtual Classes
    • On Demand Video Library
    • Technology Books
    • AWS Participant Resources
      • AWS Security Essentials
      • AWS Networking Labs
      • AWS Business Essentials labs
      • AWS Sys Ops 2
      • awsarchlabs
      • awssysops1
      • awsdevelopinglabs
      • AWS Technical Essentials labs
  • On Demand Videos
  • Latest Articles
  • Strategy Consulting
  • Contact