Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AWS CloudFormation Crash Course
Search
Nils De Moor
September 11, 2013
Programming
3
580
AWS CloudFormation Crash Course
Nils De Moor
September 11, 2013
Tweet
Share
More Decks by Nils De Moor
See All by Nils De Moor
Woorank: Dismantling the monolith
ndemoor
0
170
Redis, your data on steroids
ndemoor
3
200
A Timeline of MongoDB
ndemoor
1
510
Phoenix Servers with Docker
ndemoor
3
210
Scaling Node with Docker + Nginx
ndemoor
3
850
What is Docker?
ndemoor
6
620
Greenup, Hackathon Project
ndemoor
1
70
Phoenix Servers with Packer
ndemoor
9
1k
Application Lifescycle
ndemoor
5
130
Other Decks in Programming
See All in Programming
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
920
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1k
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
210
カスタムしながら理解するGraphQL Connection
yanagii
1
1.2k
CSC305 Lecture 13
javiergs
PRO
0
130
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
440
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
6
2.7k
Kotlin2でdataクラスの copyメソッドを禁止する/Data class copy function to have the same visibility as constructor
eichisanden
1
140
Vaporモードを大規模サービスに最速導入して学びを共有する
kazukishimamoto
4
4.3k
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
430
のびしろを広げる巻き込まれ力:偶然を活かすキャリアの作り方/oso2024
takahashiikki
1
410
Kaigi on Rails 2024 - Rails APIモードのためのシンプルで効果的なCSRF対策 / kaigionrails-2024-csrf
corocn
5
3.4k
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
50
7.2k
For a Future-Friendly Web
brad_frost
175
9.4k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Designing Experiences People Love
moore
138
23k
What's new in Ruby 2.0
geeforr
342
31k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Visualization
eitanlees
144
15k
Designing for Performance
lara
604
68k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
The Power of CSS Pseudo Elements
geoffreycrofte
72
5.3k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Transcript
AWS USER GROUP BELGIUM BY NILS DE MOOR @NDEMOOR KICK-OFF
MEETUP #1
YOU REVISION YOUR CODE IN REPOSITORIES... ...SO WHY NOT YOUR
INFRASTRUCTURE
CLOUDFORMATION ONE FILE TO RULE THEM ALL
CLOUDFORMATION “MAKE IT EASIER TO DEPLOY THE COLLECTION OF AWS
RESOURCES YOU NEED TO RUN YOUR APPLICATION REPEATEDLY AND PREDICATBLY USING A DECLARATIVE TEMPLATE” - CHRIS WHITACKER, AWS
BENEFITS - WRITE ONCE, DEPLOY EVERYWHERE - UPDATE - DOCUMENTED
- CONTINUOUS
DEMO APP - CREATE A BUCKET - ADD PHOTOS TO
BUCKET - START INSTANCE - PROVISION INSTANCE AND DEPLOY APP SOURCE: GIT CLONE HTTPS://GITHUB.COM/NDEMOOR/AWS-UGB-PHOTOAPP
PHASE 1 CREATE PRIVATE S3 BUCKET ADD POLICY: PHOTOS/ FOLDER
PUBLIC git checkout phase1
PHASE 2 ADD USER WITH PASSWORD GENERATE ACCESS KEYS TO
USE IN APP git checkout phase2
PHASE 3 ADD INSTANCE ADD SECURITY GROUP git checkout phase3
PHASE 4 PROVISION NEW INSTANCE WITH CFN-INIT ADD WAIT CONDITION
INSTALL + RUN APPLICATION git checkout phase4
ADVANCED - DELETE / UPDATE POLICIES - SUBSTACKS - CUSTOM
RESOURCES
PITFALLS - NO SANDBOX TO ‘TRY’ CHANGES - BASIC ERROR
CHECKING - NOT EVERYTHING CAN BE ‘UPDATED’ - LEARNING CURVE - BULKY JSON - SINGLE REGION
HOMEWORK - ELASTIC IP - ROUTE53 DNS RECORD POINTING TO
INSTANCE - CLOUDFRONT DISTRIBUTION FOR BUCKET CONTENT - AUTO-SCALING GROUP + ELB - PROVISION INSTANCE WITH CHEF/PUPPET/ANSIBLE
RESOURCES - AWS CLOUDFORMATION DOCS: HTTP://DOCS.AWS.AMAZON.COM/AWSCLOUDFORMATION/LATEST/USERGUIDE/WELCOME.HTML - SAMPLE TEMPLATES: HTTP://AWS.AMAZON.COM/CLOUDFORMATION/AWS-CLOUDFORMATION-TEMPLATES/
QUESTIONS? LEAVE FEEDBACK IN THE USER GROUP PAGE @NDEMOOR