TA Section 2017-4-1 Zhenyu Zhao DevOps Engineer at HUIT Infrastructure Technology Services E-mail: zhenyu_zhao@harvard.edu.

Slides:



Advertisements
Similar presentations
BY Zoher & Mahmoud. What is WAMP?  - Acronym for Windows/Apache/MySQL/PHP, Python, (and/or) PERL  - WAMP refers to a set of free open source applications,
Advertisements

IT 210 The Internet & World Wide Web introduction.
JavaScript & jQuery the missing manual Chapter 11
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
SE3183 Advance Web Programming Programming Session 2013/2014.
Data Management BIRN supports data intensive activities including: – Imaging, Microscopy, Genomics, Time Series, Analytics and more… BIRN utilities scale:
CHAPTER 7 Form & PHP. Introduction All of the following examples in this section will require two web pages. The first page retrieves information posted.
Comments in PHP In PHP, we use // to make a singleline comment or /* and */ to make a large comment block. Comment is a part of your PHP code that will.
The Module Road Map Assignment 1 Road Map We will look at… Internet / World Wide Web Aspects of their operation The role of clients and servers ASPX.
Map Books & Dynamic Tables
CMI Cloud Solutions Overview. 2 Experts in Cloud Architecture Architect and deploy complex AWS and SoftLayer environments (EC2, EBS, ELB, RDS, Route 53,
Cloud Computing is a Nebulous Subject Or how I learned to love VDF on Amazon.
Windows 7 WampServer 2.1 MySQL PHP 5.3 Script Apache Server User Record or Select Media Upload to Internet Return URL Forward URL Create.
Web Development Resources for Project 1 Tyler Moore University of Tulsa CS 7403: Secure Electronic Commerce Spring
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Dictionaries and File I/O George Mason University.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Building KFS using KNS Presented by James SmithJustin Beltran University of ArizonaUniversity of California, Irvine.
#SummitNow Alfresco Deployments on AWS Cost-Effective, Scalable & Secure Michael Waldrop Director, Solutions Engineering .
Terraform at Adobe Kelvin Jasperson. Introduction 2 Systems Adobe Audience Manager (AAM) Been with Adobe for 18 months AAM was acquired by.
100% Exam Passing Guarantee & Money Back Assurance
INTRODUCTION TO AMAZON WEB SERVICES (EC2). AMAZON WEB SERVICES  Services  Storage (Glacier, S3)  Compute (Elastic Compute Cloud, EC2)  Databases (Redshift,
AWS AWS Certified Solutions Architect
Calgary Oracle User Group
SDN-O LCM for Mercury Release Key Points and Overview
ArcGIS for Server Security: Advanced
Web Database Programming Using PHP
PDO Database Connections
AWS Simple Icons v AWS Simple Icons: Usage Guidelines
COP4710 Database Systems Project Overview.
Introduction and Principles
MANAGE AWS INFRASTRUCTURE AS CODE USING TERRAFORM
Web Database Programming Using PHP
Continuous Deployment tool
Data Virtualization Tutorial: JSON_TABLE Queries
PHP Training at GoLogica in Bangalore
PDO Database Connections
PHP / MySQL Introduction
SERVICE NOW online Training at GoLogica
AWS COURSE DEMO BY PROFESSIONAL-GURU. Amazon History Ladder & Offering.
Acutelearn Amazon Web Services Training Classroom Training Instructor led trainings at Acutelearn premises Corporate Training Custom tailored trainings.
Microsoft Automation on AWS
Compliance and Control of AWS Resources at Scale with Cloud Custodian
SKILLSHARE CLONE | SKILLSHARE SCRIPT - COURSERA SCRIPT - ONLINE EDUCATION SOFTWARE Dexterity Solution.
2018 Amazon AWS DevOps Engineer Professional Dumps - DumpsProfessor
Login & administration page
PDO Database Connections
MIT GSL 2018 week 3 | thursday Meteor and App Ideation.
AWS Boulder - Denver Meetup – January 2017
PDO Database Connections

Ansible & CloudFormation
Web DB Programming: PHP
PHP and Forms.
JSON Data Demo.
MySQL Backup, Transfer and Restore
IST256 : Applications Programming for Information Systems
Lesson 10: Dictionaries Class Chat: Attendance: Participation
Using Templates and Library Items
Intro to PHP.
Deploying Your First Full Stack Application to the Cloud
Server Side Programming Overview And file system basics
Building Serverless Enterprise Applications
CS4433 Database Systems Project.
Amazon AWS Certified Solutions Architect Professional solutions-architect-professional-practice-test.html.
Amazon Web Services.
Python – Beyond the Basics
PHP an introduction.
Setting up PostgreSQL for Production in AWS
© Sangeeta M Chauhan, Gwalior
Presentation transcript:

TA Section 2017-4-1 Zhenyu Zhao DevOps Engineer at HUIT Infrastructure Technology Services E-mail: zhenyu_zhao@harvard.edu

Agenda CloudFormation template anatomy: built-in functions, mappings, parameters How to update a stack without deleting it Demo Building a simple infrastructure from the scratch with VPC, subnet, route table, network ACL, security group, an EC2 instance with User Data Q & A

How CloudFormation Works

How CloudFormation Change Set Works

JSON Components Structurally, starts with an object and key-value pairs are building block and every item is represented by a string literal {} represents an object (like a dictionary of key-value pairs) [] represents an array (a list of string values) The goal is to represent data structure relationship Syntactically, JSON is straightforward. Semantically, it is up to JSON parser to interpreter the code. CloudFormation template uses JSON to structure the code

CloudFormatrion Boilerplate code See code File: boilerplate

Built-in functions, Mappings and Parameters Built-in Functions that we are using here: Ref Fn::FindInMap Fn::Join Fn::Select Fn::GetAZs Fn::Base64 Reference: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic- function-reference.html

Built-in functions, Mappings and Parameters Multi-dimentional data structure Analogous to Python dictionary data structure Always use Fn::FindInMap to look up a key

Built-in functions, Mappings and Parameters Dynamic and user-driven Always use Ref to return pointer to a parameter

Demo We are building a simple infrastructure from the scratch: A VPC A Internet gateway A public subnet A network ACL that is attached to the public subnet A route table that is attached to the public subnet A security group An EC2 instance with User Data to set up Apache, MySQL, & PHP zhen-ta-tempate5-base => zhen-ta-tempate5-update1 => zhen-ta-tempate5-update2 => zhen-ta-tempate5-update3 => zhen-ta-tempate5-update4 => zhen-ta-tempate5-update5 => zhen-ta-tempate5-update6

Q & A When creating a new CloudFormation stack, how do you correctly reference existing resources (such as a VPC or subnet) in your script? (From Harry) Can you have two AWS resource of same type with same value for the Name tag? where are the files from section stored on the course site? http://fas.harvard.edu/~zzhao

Q & A Can we get this vlcid using Parameters?Like a dropdown Explore the parameter type in AWS documentation Zhen, if “ZhenVPC” was an existing VPC in my account, would I just delete the “ZhenVPC” section you have in “Resources”?