SlideShare a Scribd company logo
1 of 20
Download to read offline
Intro: Developing on AWS
Zdeněk Bulan
IT Support Team Leader @ Amazon
AWS Instructor @ DataScript
26-Sep-2018
DataScript
• http://www.datascript.cz/
• Authorized training center
• Amazon Web Services, RedHat, Veritas, Symantec, Microsoft, …
• Open source courses
• Docker, Kubernetes, Ansible, ElasticSearch, Zabbix, …
• Conferences
• Microservices, ElasticSearch, Kubernetes, API
• Morning talks
• for 3 years, 3500 attendees, 98 topics
Housekeeping
• Target audience
• Presentation < 60 minutes
• Slides in English – talk in Czech
• Post questions online – response via chat window and email
• Nazar Špak, Territory Manager, AWS
• Vladimír Šimek, Senior Solution Architect, AWS
Agenda
• AWS API & SDK
• Managed services for developers
• S3, DynamoDB, Kinesis, SQS, SNS, Lambda, Cognito, …
• Serverless: S3 hosted websites
• Demos: SDK initial setup
• Deploying applications with Elastic Beanstalk and CloudFormation
• Creating lambda functions in Cloud9
AWS Global Infrastructure
Availability
Zone - A
Availability
Zone - B
Availability
Zone - C
Region
AWS API & CloudTrail
• Regional API endpoints
• AWS console – Web UI
• CLI – Linux/UNIX, Windows, Mac; PowerShell
• SDK
• Android, iOS, Java, JavaScript for browser, .NET/C#, Node.js, PHP, Python, Ruby
• Client Service API vs. Resource API
• Direct API invocation
• IDE toolkit – Eclipse, Visual Studio, Cloud9
• CloudTrail
• Enabled by default – 90 days
• Storing to S3: per-region vs. all-into-1-region
S3
• Object-level storage (bucket, object key)
• availability 99.99%, durability 99.999999999%
• Lifecycle policies: standard -> infrequent access -> glacier -> delete
• 3500/5500 add/get requests per second
• Encryption – server-side, client-side
• Static website hosting, CORS (Cross Origin Resource Sharing)
• Versioning, Cross-Region Replication, Signed URLs
• No limit for number of objects, max 5 TB per object
DynamoDB
• NoSQL - no schema, no ACID
• Table -> Table
• Row -> Item
• Column -> Attribute
• Indexes: LSI/GSI
• Throughput Provisioning: RCU & WCU
• Per-item/per-attribute permissions
• DynamoDB Streams
• No limit on table size
DynamoDB
• DynamoDB features
• Autoscaling
• Global Tables
• SLA: 99.999% for Global Tables vs. 99.99% SLA for Region Tables
• Server-side encryption
• TTL
• Backups – on-demand vs. point-in-time-recovery (cont.-backup)
• DynamoDB Accelator (DAX) – incl. encryption
Kinesis Data Streams
SQS
• Managed Queueing Service
• Standard – no order, msg may duplicate, unlimited throughput
• FIFO – ordered, msg received once, limited 300 transactions/s
• Loose Coupling – asynchronous
• Queuing chain pattern
• Short Polling vs. Long Polling, Visibility timeout
• Dead Letter Queue
• Server side encryption
SNS
• Publishers
• Subscribers
• Lambda, SQS, HTTP/HTTPS, Email, SMS, Mobile Push
• message filtering operators
Lambda
• Serverless
• Node.js, Java, Python, .NET/C# (2.0/2.1)
• Resources allocation: RAM ~ CPU
• Invocation: Push Model, Pull Model, Direct Invocation
• Scheduled events
• Permissions: Execution permissions & Invocation permissions
• SQS as event source for Lambda
• API Gateway: URL -> EC2, Lambda, public IP service
Cognito
• Mobile identity management & Data synchronization
• Identities
• External identity providers: Amazon, Facebook, Twitter, Google, …
• Custom identity system
• Unauthorized guest access
• Fine-Grained Access Control: DynamoDB, S3, …
• JavaScript for browser SDK
CloudFormation
• Infrastructure as Code – declarative JSON/YAML format
• CloudFormation: template -> stack(s)
• Create/update/delete
• Parameters, conditions, mappings, pseudo-parameters
• Multiple templates – Identity, Network, Back-end, Front-end
• Nested stacks
• Cross-stack references – Outputs -> Import value
Elastic Beanstalk
• Deploy application
• Java, PHP, .NET/C#, Node.js, Python, Ruby, …, Docker
• Environment
• Tiers: web-server vs. worker
• Type: single-instance vs. auto-scaling
• Swap URL – blue-green deployment
• Applications Versions
• Stored in S3, version <-> environment, rollback
• Configuration – services, resources, …
RDS, Elastic Cache
• RDS
• Managed SQL DB
• MySQL, PostgreSQL, MariaDB, Oracle, MS SQL
• Aurora (up to 64 TB; MySQL and PostgreSQL compatible)
• Multi-AZ vs. Single-AZ deployment
• Automatic Backups vs. Manual Snapshots
• MySQL/Aurora: IAM DB Authentication
• Migration
• Database Migration Service & Schema Conversion tool
• ElastiCache
• Managed in-memory cache cluster
• Memcached vs. Redis
Serverless: S3 Hosted Websites
DEMO
• SDK initial setup
• Deploying applications with Elastic Beanstalk and
CloudFormation
• Creating lambda functions in Cloud9
Thank you!
zdenek@bulan.cz
www.linkedin.com/in/zdenekbulan

More Related Content

What's hot

Openstack India May Meetup
Openstack India May MeetupOpenstack India May Meetup
Openstack India May Meetup
Deepak Garg
 
Server Object Extensions
Server Object ExtensionsServer Object Extensions
Server Object Extensions
viswaug
 

What's hot (20)

Amazon Web Services lection 2
Amazon Web Services lection 2Amazon Web Services lection 2
Amazon Web Services lection 2
 
Net online training
Net online trainingNet online training
Net online training
 
MOOC Piattaforme digitali per la gestione del territorio - 4.3
MOOC Piattaforme digitali per la gestione del territorio - 4.3MOOC Piattaforme digitali per la gestione del territorio - 4.3
MOOC Piattaforme digitali per la gestione del territorio - 4.3
 
Webinar azuretalk
Webinar azuretalkWebinar azuretalk
Webinar azuretalk
 
A Multi-Tenancy Cloud-Native Digital Library Platform
A Multi-Tenancy Cloud-Native Digital Library PlatformA Multi-Tenancy Cloud-Native Digital Library Platform
A Multi-Tenancy Cloud-Native Digital Library Platform
 
Data warehouse solutions
Data warehouse solutionsData warehouse solutions
Data warehouse solutions
 
GraphQL API on a Serverless Environment
GraphQL API on a Serverless EnvironmentGraphQL API on a Serverless Environment
GraphQL API on a Serverless Environment
 
Barcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWSBarcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWS
 
Openstack India May Meetup
Openstack India May MeetupOpenstack India May Meetup
Openstack India May Meetup
 
Basic Website 101
Basic Website 101Basic Website 101
Basic Website 101
 
A production project's architecture with clojure
A production project's architecture with clojureA production project's architecture with clojure
A production project's architecture with clojure
 
Living on the edge at Netflix - Adrian Cole
Living on the edge at Netflix - Adrian ColeLiving on the edge at Netflix - Adrian Cole
Living on the edge at Netflix - Adrian Cole
 
Stream processing at Hotstar
Stream processing at HotstarStream processing at Hotstar
Stream processing at Hotstar
 
Asp.net
Asp.netAsp.net
Asp.net
 
Groovygrails
GroovygrailsGroovygrails
Groovygrails
 
Server Object Extensions
Server Object ExtensionsServer Object Extensions
Server Object Extensions
 
Hidden gems in SXA that you might not be aware of
Hidden gems in SXA that you might not be aware ofHidden gems in SXA that you might not be aware of
Hidden gems in SXA that you might not be aware of
 
Using Your Own Algorithms in AWS SageMaker, Eduard Dautov, Software Engineer ...
Using Your Own Algorithms in AWS SageMaker, Eduard Dautov, Software Engineer ...Using Your Own Algorithms in AWS SageMaker, Eduard Dautov, Software Engineer ...
Using Your Own Algorithms in AWS SageMaker, Eduard Dautov, Software Engineer ...
 
AWS Lambda + AWS Cloudformation
AWS Lambda + AWS CloudformationAWS Lambda + AWS Cloudformation
AWS Lambda + AWS Cloudformation
 
Scylla Summit 2018: Scaling your time series data with Newts
Scylla Summit 2018: Scaling your time series data with NewtsScylla Summit 2018: Scaling your time series data with Newts
Scylla Summit 2018: Scaling your time series data with Newts
 

Similar to AWS Česko-Slovenský Webinár 03: Vývoj v AWS

Similar to AWS Česko-Slovenský Webinár 03: Vývoj v AWS (20)

Serverless Architecture Patterns
Serverless Architecture PatternsServerless Architecture Patterns
Serverless Architecture Patterns
 
Aws Solution Architecture Associate - summary
Aws Solution Architecture Associate - summaryAws Solution Architecture Associate - summary
Aws Solution Architecture Associate - summary
 
The Best of re:invent 2016
The Best of re:invent 2016The Best of re:invent 2016
The Best of re:invent 2016
 
Amazon Web Services OverView
Amazon Web Services OverViewAmazon Web Services OverView
Amazon Web Services OverView
 
Microservices Manchester: Serverless Architectures By Rafal Gancarz
Microservices Manchester: Serverless Architectures By Rafal GancarzMicroservices Manchester: Serverless Architectures By Rafal Gancarz
Microservices Manchester: Serverless Architectures By Rafal Gancarz
 
Best of re:Invent
Best of re:InventBest of re:Invent
Best of re:Invent
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
 
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...
AWS re:Invent 2016: [JK REPEAT] Serverless Architectural Patterns and Best Pr...
 
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...
AWS re:Invent 2016: Serverless Architectural Patterns and Best Practices (ARC...
 
Being Well Architected in the Cloud (Updated)
Being Well Architected in the Cloud (Updated)Being Well Architected in the Cloud (Updated)
Being Well Architected in the Cloud (Updated)
 
Being Well-Architected in the Cloud
Being Well-Architected in the CloudBeing Well-Architected in the Cloud
Being Well-Architected in the Cloud
 
Serverless Architectural Patterns and Best Practices | AWS
Serverless Architectural Patterns and Best Practices | AWSServerless Architectural Patterns and Best Practices | AWS
Serverless Architectural Patterns and Best Practices | AWS
 
Deep Dive on AWS Lambda - January 2017 AWS Online Tech Talks
Deep Dive on AWS Lambda - January 2017 AWS Online Tech TalksDeep Dive on AWS Lambda - January 2017 AWS Online Tech Talks
Deep Dive on AWS Lambda - January 2017 AWS Online Tech Talks
 
AWS for the Java Developer
AWS for the Java DeveloperAWS for the Java Developer
AWS for the Java Developer
 
Serverless Architecture Patterns
Serverless Architecture PatternsServerless Architecture Patterns
Serverless Architecture Patterns
 
serverless_architecture_patterns_london_loft.pdf
serverless_architecture_patterns_london_loft.pdfserverless_architecture_patterns_london_loft.pdf
serverless_architecture_patterns_london_loft.pdf
 
Serverless Workshop
Serverless WorkshopServerless Workshop
Serverless Workshop
 
Serverless Framework Intro
Serverless Framework IntroServerless Framework Intro
Serverless Framework Intro
 
Utah Codecamp Cloud Computing
Utah Codecamp Cloud ComputingUtah Codecamp Cloud Computing
Utah Codecamp Cloud Computing
 
Svc 202-netflix-open-source
Svc 202-netflix-open-sourceSvc 202-netflix-open-source
Svc 202-netflix-open-source
 

More from Vladimir Simek

More from Vladimir Simek (18)

Machine Learning with Amazon SageMaker
Machine Learning with Amazon SageMakerMachine Learning with Amazon SageMaker
Machine Learning with Amazon SageMaker
 
AWS CZSK Webinář 2020.03: AWS Outposts
AWS CZSK Webinář 2020.03: AWS OutpostsAWS CZSK Webinář 2020.03: AWS Outposts
AWS CZSK Webinář 2020.03: AWS Outposts
 
AWS CZSK Webinar - Migrácia desktopov a aplikácií do AWS cloudu s Amazon Work...
AWS CZSK Webinar - Migrácia desktopov a aplikácií do AWS cloudu s Amazon Work...AWS CZSK Webinar - Migrácia desktopov a aplikácií do AWS cloudu s Amazon Work...
AWS CZSK Webinar - Migrácia desktopov a aplikácií do AWS cloudu s Amazon Work...
 
News from re:Invent 2019
News from re:Invent 2019News from re:Invent 2019
News from re:Invent 2019
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
 
AWS CZSK Webinar 2019.07: Databazy na AWS
AWS CZSK Webinar 2019.07: Databazy na AWSAWS CZSK Webinar 2019.07: Databazy na AWS
AWS CZSK Webinar 2019.07: Databazy na AWS
 
AWS CZSK Webinář 2019.05: Jak chránit vaše webové aplikace před DDoS útoky
AWS CZSK Webinář 2019.05: Jak chránit vaše webové aplikace před DDoS útokyAWS CZSK Webinář 2019.05: Jak chránit vaše webové aplikace před DDoS útoky
AWS CZSK Webinář 2019.05: Jak chránit vaše webové aplikace před DDoS útoky
 
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWSČesko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
Česko-Slovenský AWS Webinář 07 - Optimalizace nákladů v AWS
 
Gaming with AWS
Gaming with AWSGaming with AWS
Gaming with AWS
 
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartArtificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to Start
 
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartArtificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to Start
 
AWS Webinar CZSK 02 Bezpecnost v AWS cloudu
AWS Webinar CZSK 02 Bezpecnost v AWS clouduAWS Webinar CZSK 02 Bezpecnost v AWS cloudu
AWS Webinar CZSK 02 Bezpecnost v AWS cloudu
 
AWS Webinar CZSK Uvod do cloud computingu
AWS Webinar CZSK Uvod do cloud computinguAWS Webinar CZSK Uvod do cloud computingu
AWS Webinar CZSK Uvod do cloud computingu
 
Introduction to EKS (AWS User Group Slovakia)
Introduction to EKS (AWS User Group Slovakia)Introduction to EKS (AWS User Group Slovakia)
Introduction to EKS (AWS User Group Slovakia)
 
Running Docker Containers on AWS
Running Docker Containers on AWSRunning Docker Containers on AWS
Running Docker Containers on AWS
 
Travel hackathon
Travel hackathonTravel hackathon
Travel hackathon
 
How to run your Hadoop Cluster in 10 minutes
How to run your Hadoop Cluster in 10 minutesHow to run your Hadoop Cluster in 10 minutes
How to run your Hadoop Cluster in 10 minutes
 
CI&CD with AWS - AWS Prague User Group - May 2015
CI&CD with AWS - AWS Prague User Group - May 2015CI&CD with AWS - AWS Prague User Group - May 2015
CI&CD with AWS - AWS Prague User Group - May 2015
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

AWS Česko-Slovenský Webinár 03: Vývoj v AWS

  • 1. Intro: Developing on AWS Zdeněk Bulan IT Support Team Leader @ Amazon AWS Instructor @ DataScript 26-Sep-2018
  • 2. DataScript • http://www.datascript.cz/ • Authorized training center • Amazon Web Services, RedHat, Veritas, Symantec, Microsoft, … • Open source courses • Docker, Kubernetes, Ansible, ElasticSearch, Zabbix, … • Conferences • Microservices, ElasticSearch, Kubernetes, API • Morning talks • for 3 years, 3500 attendees, 98 topics
  • 3. Housekeeping • Target audience • Presentation < 60 minutes • Slides in English – talk in Czech • Post questions online – response via chat window and email • Nazar Špak, Territory Manager, AWS • Vladimír Šimek, Senior Solution Architect, AWS
  • 4. Agenda • AWS API & SDK • Managed services for developers • S3, DynamoDB, Kinesis, SQS, SNS, Lambda, Cognito, … • Serverless: S3 hosted websites • Demos: SDK initial setup • Deploying applications with Elastic Beanstalk and CloudFormation • Creating lambda functions in Cloud9
  • 5. AWS Global Infrastructure Availability Zone - A Availability Zone - B Availability Zone - C Region
  • 6. AWS API & CloudTrail • Regional API endpoints • AWS console – Web UI • CLI – Linux/UNIX, Windows, Mac; PowerShell • SDK • Android, iOS, Java, JavaScript for browser, .NET/C#, Node.js, PHP, Python, Ruby • Client Service API vs. Resource API • Direct API invocation • IDE toolkit – Eclipse, Visual Studio, Cloud9 • CloudTrail • Enabled by default – 90 days • Storing to S3: per-region vs. all-into-1-region
  • 7. S3 • Object-level storage (bucket, object key) • availability 99.99%, durability 99.999999999% • Lifecycle policies: standard -> infrequent access -> glacier -> delete • 3500/5500 add/get requests per second • Encryption – server-side, client-side • Static website hosting, CORS (Cross Origin Resource Sharing) • Versioning, Cross-Region Replication, Signed URLs • No limit for number of objects, max 5 TB per object
  • 8. DynamoDB • NoSQL - no schema, no ACID • Table -> Table • Row -> Item • Column -> Attribute • Indexes: LSI/GSI • Throughput Provisioning: RCU & WCU • Per-item/per-attribute permissions • DynamoDB Streams • No limit on table size
  • 9. DynamoDB • DynamoDB features • Autoscaling • Global Tables • SLA: 99.999% for Global Tables vs. 99.99% SLA for Region Tables • Server-side encryption • TTL • Backups – on-demand vs. point-in-time-recovery (cont.-backup) • DynamoDB Accelator (DAX) – incl. encryption
  • 11. SQS • Managed Queueing Service • Standard – no order, msg may duplicate, unlimited throughput • FIFO – ordered, msg received once, limited 300 transactions/s • Loose Coupling – asynchronous • Queuing chain pattern • Short Polling vs. Long Polling, Visibility timeout • Dead Letter Queue • Server side encryption
  • 12. SNS • Publishers • Subscribers • Lambda, SQS, HTTP/HTTPS, Email, SMS, Mobile Push • message filtering operators
  • 13. Lambda • Serverless • Node.js, Java, Python, .NET/C# (2.0/2.1) • Resources allocation: RAM ~ CPU • Invocation: Push Model, Pull Model, Direct Invocation • Scheduled events • Permissions: Execution permissions & Invocation permissions • SQS as event source for Lambda • API Gateway: URL -> EC2, Lambda, public IP service
  • 14. Cognito • Mobile identity management & Data synchronization • Identities • External identity providers: Amazon, Facebook, Twitter, Google, … • Custom identity system • Unauthorized guest access • Fine-Grained Access Control: DynamoDB, S3, … • JavaScript for browser SDK
  • 15. CloudFormation • Infrastructure as Code – declarative JSON/YAML format • CloudFormation: template -> stack(s) • Create/update/delete • Parameters, conditions, mappings, pseudo-parameters • Multiple templates – Identity, Network, Back-end, Front-end • Nested stacks • Cross-stack references – Outputs -> Import value
  • 16. Elastic Beanstalk • Deploy application • Java, PHP, .NET/C#, Node.js, Python, Ruby, …, Docker • Environment • Tiers: web-server vs. worker • Type: single-instance vs. auto-scaling • Swap URL – blue-green deployment • Applications Versions • Stored in S3, version <-> environment, rollback • Configuration – services, resources, …
  • 17. RDS, Elastic Cache • RDS • Managed SQL DB • MySQL, PostgreSQL, MariaDB, Oracle, MS SQL • Aurora (up to 64 TB; MySQL and PostgreSQL compatible) • Multi-AZ vs. Single-AZ deployment • Automatic Backups vs. Manual Snapshots • MySQL/Aurora: IAM DB Authentication • Migration • Database Migration Service & Schema Conversion tool • ElastiCache • Managed in-memory cache cluster • Memcached vs. Redis
  • 19. DEMO • SDK initial setup • Deploying applications with Elastic Beanstalk and CloudFormation • Creating lambda functions in Cloud9