AWS Classroom Series – 19/May/2020

Scenario

  • Steve (Cloud Engineer) has been assigned a task to create wordpress instance in AWS

Possible Solutions

  • Manual Work: Steve can implement solution manually, but If he needs one more instance, Steve has repeat all of actions
  • Automation using Shell/Powershell Scripts: Steve writes the Shell Script to create wordpress using AWS CLI. Changes in the future are difficult to handle
  • Better Approach Using Templates:
    • Steve creates a template for WordPress
    • Whenever any team wants this, he executes a template
    • To Create this template Steve uses Cloudformation.
    • Using DRY (Dont Repeat Yourself) as a principle, write one use many times
  • Screenshots of Creating a Template
  • Once you are done, deleting the Cloud formation stack will delete everything that has been created

What is required to Write Cloudformation

  • Learn Basic File formats
    • JSON
    • YAML
  • Know the manual steps of creating deployments

Approach in Classroom

  • Before writing templates, we will do the steps manually and then create a template from the understanding

Exercise

  • Go through Azure’s session today
    • Azure Migrate => AWS Server Migration Service
    • ARM Template => CloudFormation

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%