Travel hackathon
-
Upload
vladimir-simek -
Category
Technology
-
view
99 -
download
0
Transcript of Travel hackathon
Friday – Saturday
11/11-12/11/2016
JIC – South Moravian Innovation Centre
Vladimír Šimek,
Solutions Architect @AWS
AWS Global Infrastructure
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Global Infrastructure
• Regions• Geographic locations• Consist of at least two Availability Zones
• Availability Zones
• Clusters of data centers
• Isolated from failures in other Availability Zones
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Compute Network StorageSecurity &
IdentityApplications
AWS Foundation Services
Amazon EC2
AWS Lambda
Amazon EC2 Container
Service
AWS Elastic Beanstalk
Elastic Load Balancing
Amazon VPC
AWS Direct
Connect
Amazon Route 53
Amazon S3Amazon
CloudFront
Amazon Elastic File System
Amazon Glacier
AWS Storage
Gateway
AWS Import/Export
AWS Identity andAccess Management
AWS Directory Service
AWS Cloud HSM
AWS KMS
AWS WAF
Amazon WorkDocs
Amazon WorkSpaces
Auto Scaling
Amazon WorkMail
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Databases Analytics App ServicesManagement
ToolsDeveloper
ToolsMobile Services
Internet of Things
AWS Platform Services
Amazon RDS
Amazon DynamoDB
Amazon ElastiCache
Amazon Redshift
Amazon EMR
AWS Data Pipeline
Amazon Kinesis
Amazon Machine Learning
Amazon Elasticsearch
Service
Amazon API Gateway
Amazon AppStream
Amazon CloudSearch
Amazon Elastic
Transcoder
Amazon SES
Amazon SQS
Amazon SWF
Amazon CloudWatch
AWS CloudFormation
AWS CloudTrail
AWS Config
AWS OpsWorks
AWS Service Catalog
AWS CodeCommit
AWS CodeDeploy
AWS CodePipeline
AWS Device Farm
Amazon Mobile
Analytics
Amazon Cognito
AmazonSNS
Mobile Hub
AWS IoT
Trusted Advisor
AWS Database Migration Service
AWS Certificate Manager
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon Elastic Compute Cloud (EC2)
Virtual machine instance running on a hypervisor
Support numerous distributions of Linux as well as
Microsoft Windows Server (2008 - 2012 R2)
Complete control of your host operating system with root
and administrator accounts
Reduce time to procure new server instances to minutes
Dynamically auto scale compute capacity based on load
Amazon Elastic Block Store (EBS)
Persistent block storage volumes for use with Amazon EC2
instances
Attach and format using a standard OS file system (e.g.
ext4 or NTFS)
Single volumes sizes from 1 GB to 16 TB and 20.000 IOPS
Designed for 99.999% availability
Seamless AES-256 encryption of EBS data volumes and
snapshots
Amazon Simple Storage Service (S3)
Highly scalable object store
Able to store unlimited number of Objects in a Bucket
Objects up to 5 TB; no bucket size limit
Designed for 99.999999999% durability and 99.99% availability
HTTP/S endpoint to store and retrieve any amount of data, at any time, from anywhere on the web
Highly scalable, reliable, fast, and inexpensive
Optional server-side encryption using AWS or customer-
managed provided client-side encryption
Access Logs for auditing
Lifecycle Policies
Amazon Relational Database Service
Handles time-consuming database management tasks,
such as backups, patch management, and replication
Options to use 6 different DB engines: MS SQL, Oracle,
MySQL, MariaDB, Aurora, PostgreSQL
Works with existing code, applications, and tools
What is DynamoDB?
Non-Relational Managed NoSQL Database Service• Schema less data model
• Consistent low latency performance (single digit ms)
• Predictable provisioned throughput
• Seamless Scalability
• No storage limits
• High durability and availability (replication between 3 facilities)
• Easy Administration – We scale for you!
• Low Cost
• Cost modeling on throughput and size
DynamoDB
Database Considerations
If You Need Consider Using
A relational database
service with minimal
administration
Amazon RDS, a fully managed service that
offers a choice of MySQL, PostgreSQL, Oracle, or
SQL Server database engines, scale compute and
storage, Multi-AZ availability, and more.
A fast, highly scalable
NoSQL database
service
Amazon DynamoDB, a fully managed service
that offers extremely fast performance, seamless
scalability and reliability, low cost, and more.
A relational database
or NoSQL database
you can manage on
your own
Your choice of AMIs on Amazon EC2
and Amazon EBS that provide scale compute and
storage, complete control over instances, and more.
AWS Elastic Beanstalk (EB)
Easily deploy, monitor, and scale three-tier web
applications and services.
Infrastructure provisioned and managed by EB – but you
maintain complete control.
Support for these platforms:
Amazon EC2 Container Service
• Supports Docker containers
• Runs on EC2 in your VPC
• Manages cluster resources
• Flexible scheduler built in or bring
your own
• Integrates with ELB, EBS, IAM
• Amazon EC2 Container Registry
AWS Lambda: No Infrastructure to Manage
• Run functions for up to 5 minutes
• Event-driven or scheduled
• Lambda handles:
• Capacity
• Scaling
• Deployment
• Monitoring
• Logging
• Web service front-end
• Security patching
Region
AWS
Lambda
Function
AWS
Lambda
Function
AWS
Lambda
Function
AWS
Lambda
Function
API
Gateway
Amazon API Gateway
• Fully managed and scalable RESTful
API gateway service
• Powered through our content
delivery network via our 63+ global
edge locations
• Provides DDoS protection and
throttling capabilities
• Multiple API stages which you define
(e.g. dev, test, prod)
AWS Lambda
Amazon API
Gateway
Amazon
EC2
AWS API
On-prem
server
17© 2016 Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Customers
Enterprise Customers Startup Customers Public Sector Customers
21© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
22© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
23© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
24
AWS CLI
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Commands
aws --version #check AWS CLI version
[sudo] pip install awscli # install AWS CLI, having Python and pip
[sudo] pip install --upgrade awscli # upgrade existing AWS CLI
aws help # get help on AWS CLI
aws configure # configure AWS CLI
AWS Credentials file
~/.aws/credentials # on Linux and Mac
C:\Users\%USERNAME%\.aws\credentials # on Windows
AWS Config file
~/.aws/config # on Linux and Mac
C:\Users\%USERNAME%\.aws\config # on Windows
25
Resources
https://aws.amazon.com/
https://aws.amazon.com/getting-started/
https://aws.amazon.com/developers/getting-started/
https://aws.amazon.com/cli/
https://aws.amazon.com/elasticbeanstalk/
https://aws.amazon.com/lambda/
Use: eu-west-1 region
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.