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
DevOps On AWS - Farouq Mousa
Search
AWS MENA Community
September 25, 2020
Technology
1
130
DevOps On AWS - Farouq Mousa
DevOps On AWS - By Farouq Mousa.pdf
AWS MENA Community
September 25, 2020
Tweet
Share
More Decks by AWS MENA Community
See All by AWS MENA Community
AWS UG DXB 2021 container series- IV
awsmena
1
100
Building Modern Applications on AWS with Persistent Storage
awsmena
0
71
Getting started with AWS Device Farm and Selenium WebDriver
awsmena
3
1.2k
Terraform CICD Best Practices
awsmena
2
110
How to select the righ EBS?
awsmena
1
95
AWS MENA Community Day - GitOps on AWS_ Codifying multi-cloud operations
awsmena
0
140
Serverless SaaS By Ali El Kontar
awsmena
1
92
Continuous verification for serverless applications By Gunnar Grosch
awsmena
1
50
AI/ML on AWS By Ahmed Raafat
awsmena
1
120
Other Decks in Technology
See All in Technology
EMからVPoEを経てCTOへ:マネジメントキャリアパスにおける葛藤と成長
kakehashi
PRO
9
1.4k
20260311 ビジネスSWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
110
Databricksアシスタントが自分で考えて動く時代に! エージェントモード体験もくもく会
taka_aki
0
370
Ultra Ethernet (UEC) v1.0 仕様概説
markunet
3
240
[JAWS DAYS 2026]私の AWS DevOps Agent 推しポイント
furuton
0
130
マルチアカウント環境でSecurity Hubの運用!導入の苦労とポイント / JAWS DAYS 2026
genda
0
210
When an innocent-looking ListOffsets Call Took Down Our Kafka Cluster
lycorptech_jp
PRO
0
120
JAWSDAYS2026_A-6_現場SEが語る 回せるセキュリティ運用~設計で可視化、AIで加速する「楽に回る」運用設計のコツ~
shoki_hata
0
2.9k
JAWS Days 2026 楽しく学ぼう! 認証認可 入門/20260307-jaws-days-novice-lane-auth
opelab
10
1.7k
自動テストが巻き起こした開発プロセス・チームの変化 / Impact of Automated Testing on Development Cycles and Team Dynamics
codmoninc
3
1.3k
マルチプレーンGPUネットワークを実現するシャッフルアーキテクチャの整理と考察
markunet
2
210
Claude Code Skills 勉強会 (DevelersIO向けに調整済み) / claude code skills for devio
masahirokawahara
0
1.7k
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
190
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
440
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
220
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
310
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
140
The Invisible Side of Design
smashingmag
302
51k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.4k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
370
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
97
Code Review Best Practice
trishagee
74
20k
Transcript
COMMUNITY DAY MENA DevOps on AWS, Getting Started
Farouq Mousa AWS Solutions Architect | DevOps Engineer | Genesys
Consultant | AWS UG Leader at Palestine @farouqmousa @farouqmousa
Agenda ▪ AWS CodeDeploy ▪ AWS CodeBuild ▪ AWS CodePipeline
CodeDeploy AWS Native Continuous Delivery Tools CodeBuild CodePipeline
DevOps and Continuous Delivery • Automated deployments • Repeatable and
safer • Smaller change sizes • Deploy morefrequently • Faster feedback loops • Learn and reactquicker • Deliver more value
CodeDeploy DEPLOYING APPS W I T H
Benefits of CodeDeploy • Automate yourdeployments • Fully managed serverlessservice
• Free withinAWS • $0.02 per on-premises instanceupdate • Centralize control • Versatile
Application The core component CodeDeploy Components Deployment Group A target
for your deployment Deployment Roll out anapp revision
Compute platform EC2/On-premises, AWS Lambda, Amazon ECS A uniquename An
identifier that isunique inside its AWS account A CodeDeploy Application
ECS An ECS cluster + An ECS service + A
load balancer + Target Group 1 + Target Group 2 Lambda Lambda function name EC2/On-premises Autoscaling groups EC2 instance tags On-premises hosts Deployment Groups
Deployment group Targets for the deployment A CodeDeploy Deployment Deployment
configuration Such as “One At A Time” Revision An application version Deployment type “In Place” or “Blue-Green”
ECS AppSpec file Task Definition version Container name Container port
Lambda AppSpec file Function name Function alias Version info EC2/On-premises GitHub commit ID or Zip file in S3 Revisions
version: 0.0 os: linux files: - source: /src destination: /var/www/html
hooks: BeforeInstall: - location: scripts/before_install.sh timeout: 300 runas: root AppSpec File: appspec.yml
EC2 or on-premisesinstance Installing the CodeDeploy Agent codedeploy-agent EC2 User
Data
#!/bin/bash -xe yum install -y ruby cd /opt curl -O
https://aws-codedeploy-us-east- 1.s3.amazonaws.com/latest/install chmod +x ./install ./install auto Install CodeDeploy - Red Hat
CodeDeploy ELB EC2 Connecting All CodeDeploy Pieces IAM GitHub or
S3 Revisions agent IAM
CodeBuild CONTINUOUS INTEGRATION W I T H
• Software licensing • CI software upgrades • Underlying host
management • Agent configurations • Hand crafted build projects • Queued builds Traditional CI
Continuous Integration • DevOps and agile processes • Helps prevent
merge conflicts • Triggers off code commits • Static code analysis • Compiles code • Runs tests • Packages and publishes artifacts • Catch and fix problems quicker
Continuous Integration Systems Managed services Master/agent Open Source andfree
Teamcity Bamboo Jenkins GitLab Travis CircleCI Alternatives to CodeBuild
Benefits of CodeBuild • Fully managed build service • Elastic
scaling • Pay only for build time used • CLI and API driven • Define builds as code • Tightly knit AWS integrations • Extensible
Sends notifications Runs tests Static code analysis Compiles code Runs
builds How Is CodeBuild Used in a CI/CD pipeline? 1 2 3 4 6 Publishes Artifacts 5
Build project The definition ofyour project Build or Build run
An execution of your Build project CodeBuild Components
Metrics Build triggers Build details Build history Build Project
Environment Artifacts Project configuration Source Build Spec Logs CodeBuild Project
Build Details
Build details Environment variables Phase details Build logs Build status
Builds or Build Runs
CodeBuild Connecting All the Pieces Git repo orS3 Source Artifact
store Projects Builds
version: 0.2 env: variables: key: “value” parameter-store: key: “value” phases:
build: commands: - compile commands - test commands artifacts: files: - target/messageUtil-1.0.jar Build Spec File:buildspec.yml
Ruby Golang Python Java .NET PHP Testing Tools
CodePipeline AUTOMATING SOFTWARE RELEASES WITH
Continuous Delivery Pipelines • A Continuous Delivery tool • Define
your entire release process • Ties together disparate systems • Flows Code out to production
Prerequisites for CodePipeline AW S account IAM credentials
Prerequisites for CodePipeline Source code Build process D eployment or
Benefits of CodePipeline • Fully managed pipeline service • Pay
only for active pipelines • Tightly tightly AWS integrations • Third party developer tool actions • Extensible via Lambda and custom actions
Artifacts Bundles of code produced by astage and ingested by
another stage Transitions The connections between stages Stages A collection of action groups that contain actions Pipeline Components
A CodePipeline Stage Action Group Actions Pipeline Stage Action Group
Actions runOrder: 1 runOrder: 1 runOrder: 2 runOrder: 2
Visualizing CodePipeline Transition Source Stage Action Group G itHub action
Build Stage Action Group C o deB uild action Deploy Stage Action Group C o deD eploy action Transition Pipeline
Test Action Approval Action Source Action Build Action Deploy Action
Invoke Action Action Types
CloudWatch Events A configured rule can route CodePipeline event info
to one or more targets CodeDeploy Triggers Publish to an S N S topic when deployment events occur for a deployment group Pipeline Execution Monitoring
Thank You ☺ @farouqmousa @farouqmousa