bluesoft @ aws re:invent 2017 + aws 101

149
AWS re:INVENT 2017 @andrefaria

Upload: andre-faria-gomes

Post on 21-Jan-2018

290 views

Category:

Technology


13 download

TRANSCRIPT

Page 1: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS re:INVENT 2017@andrefaria

Page 2: Bluesoft @ AWS re:Invent 2017 + AWS 101

6º ReinventA Bluesoft esteve presente em todos eles!

Page 3: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 4: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 5: Bluesoft @ AWS re:Invent 2017 + AWS 101

13.000 Sessions

43.000+ attendees

Page 6: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 7: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 8: Bluesoft @ AWS re:Invent 2017 + AWS 101

Expo

Page 9: Bluesoft @ AWS re:Invent 2017 + AWS 101

Recap

Page 10: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon 101

Page 11: Bluesoft @ AWS re:Invent 2017 + AWS 101

Antes do Cloud

Page 12: Bluesoft @ AWS re:Invent 2017 + AWS 101

Cloud Computing is on-demand delivery of compute power, database storage, applications and other IT resources

through a cloud services platform via the Internet with pay-as-you-go pricing.

Page 13: Bluesoft @ AWS re:Invent 2017 + AWS 101

no upfront investments no hardware management

low cost scalable

capex vs opex no capacity guessing

increased speed and agility focus on core activities

Page 14: Bluesoft @ AWS re:Invent 2017 + AWS 101

IaaS - Infrastructurenetworking, computers, storage (EC2)

PaaS - Platformmanagement layer, patching (RDS)

SaaS - Softwareend user apps (Amazon WorkDocs)

Page 15: Bluesoft @ AWS re:Invent 2017 + AWS 101

Global Infrastructuremore than 1M customers in 190 countries

low latency and higher throughput42 AZs - 16 regions

Page 16: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS Management ConsoleSimple and Intuitive User Interface

Page 17: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS Command Line Interface (CLI) AWS SDKs

Page 18: Bluesoft @ AWS re:Invent 2017 + AWS 101

EC2 - Amazon Elastic Compute Cloud

On-Demandpay by the hour

Reservedup to 75% for upfront payment

Spot bid on spare capacity

Page 19: Bluesoft @ AWS re:Invent 2017 + AWS 101

ECS - Ec2 Container Service

ECSContainer ManagementRun Containers Clusters on EC2 instances

ECR Container RegistryStore, Manage, and Deploy Containers

Page 20: Bluesoft @ AWS re:Invent 2017 + AWS 101

Compute Services

AWS Batchplan, schedule, and run batch computing jobs on AWS - it automatically provision resources (cpu, memory, spot, etc.) no need to manage servers clusters to run your jobs

Amazon Lightsaillaugh virtual private servers

Page 21: Bluesoft @ AWS re:Invent 2017 + AWS 101

Compute Services

AWS Lambdarun code without provisioning or maintaining servers, pay only for compute time you consume

Elastic Beanstalkrun Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Tomcat, Passenger, and Internet Information Services (IIS).

Page 22: Bluesoft @ AWS re:Invent 2017 + AWS 101

Compute and Storage Services

Amazon S3 and GlacierS3 is an object storage designed to have 99.999999999% durability

Glacier is a extremely low cost storage for archiving and long-term backup.

AWS AutoscalingEnsure that your are running the desired number of EC2 Instances, and increases instances if demand increases

Page 23: Bluesoft @ AWS re:Invent 2017 + AWS 101

Storage Services

Elastic File SystemSimple scalable file storage to use with EC2. Storage is elastic and can grow or shrink automatically as you add and remove files.

AWS EBSPersistent block storage volumes to use with EC2, automatically replicated within the AZ. Best for low latency storage.

Page 24: Bluesoft @ AWS re:Invent 2017 + AWS 101

Storage and Database Services

AuroraMySQL and Postgres compatible relational database that combines speed an availability of high-end comercial databases for 1/10 of the cost.

AWS Storage GatewayHybrid Storage between on premisses and cloud

Page 25: Bluesoft @ AWS re:Invent 2017 + AWS 101

Database Services

Amazon Dynamo DBfast and flexible NoSQL DB for consistent, single-digit millisecond latency at any scale, support both document and key-value storage.

Amazon RDSManaged Aurora, PostgreSQL, MySQL, MariaDB, Oracle, Microsoft SQL Server.

Page 26: Bluesoft @ AWS re:Invent 2017 + AWS 101

Database and Networking Services

Amazon VPCprovision a logically isolated section for the cloud to launch resources (ip ranges, subnets, routes, route tables).

Amazon ElastiCacheManaged InMemory Database. Supports Redis and Memcached.

Page 27: Bluesoft @ AWS re:Invent 2017 + AWS 101

Networking Services

Route 53Highly available and scalable DNS Web Service - translates domains in IPS addresses

AWS Cloud FrontGlobal Content Delivery Network (CDN) that accelerates delivery for websites, APIs, video, or other assets, routing automatically to the nearest edge location.

Page 28: Bluesoft @ AWS re:Invent 2017 + AWS 101

Networking and Developer Services

AWS Code CommitFully Managed Source Control Service to host private Git Repos.

Elastic Load BalancingELB automatically distributes incoming application traffic across multiple EC2 instances enabling fault-tolerance and scaling.

Page 29: Bluesoft @ AWS re:Invent 2017 + AWS 101

Developer Services

AWS Code DeployAutomates code deployments to any instance

AWS Code BuildFully Managed Build Services that compile source code, run tests and produces software packages that ready to deploy

Page 30: Bluesoft @ AWS re:Invent 2017 + AWS 101

Developer Services

AWS X-Rayanalyse and debug apps with end-to-end view of requests and a map of components.

AWS Code PipelineContinuous Integration and Continuous Delivery

Page 31: Bluesoft @ AWS re:Invent 2017 + AWS 101

Management Tools

AWS Systems Managercollect inventory, apply patches, create images, configure and run commands.

Amazon CloudWatchMonitoring Resources and Apps

Page 32: Bluesoft @ AWS re:Invent 2017 + AWS 101

Management ToolsAWS Cloud Trailrecords API calls for your account and delivers log files

AWS Cloud FormationCreate and manage a collection of AWS resources, providing and updating

Page 33: Bluesoft @ AWS re:Invent 2017 + AWS 101

Management ToolsAWS OpsWorksConfiguration Management Service that uses Chef or Puppet to automate how servers are configured, deposed and manger across EC2 instances.

AWS ConfigFull Managed service that provides an AWS resource inventory, config history, config change notifications and rules evaluations

Page 34: Bluesoft @ AWS re:Invent 2017 + AWS 101

Management ToolsAWS Services CatalogCreate and manage catalogs of IT services that are approved for use on AWS

AWS ConfigFull Managed service that provides an AWS resource inventory, config history, config change notifications and rules evaluations

Page 35: Bluesoft @ AWS re:Invent 2017 + AWS 101

Management ToolsAmazon InspectorAmazon Inspector automatically assesses applications for vulnerabilities or deviations from best practices.

AWS IAMcontrol access to AWS services and resources for your users

Page 36: Bluesoft @ AWS re:Invent 2017 + AWS 101

Management and Analytics ToolsAmazon Athenais an serverless interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. 94 Athena is serverless. You pay only for the queries that you run.

AWS IAMcontrol access to AWS services and resources for your users

Page 37: Bluesoft @ AWS re:Invent 2017 + AWS 101

Analytics ToolsAmazon CloudSearchmanaged search solution for websites and applications

Amazon Elasticsearchmanaged Elasticsearch

Amazon EMRmanaged service to run Hadoop, Spark, HBase, Presto, and Flink workloads that in a easy, fast, and cost-effective fashion to process vast amounts of data across dynamically scalable Amazon EC2 instances.

Page 38: Bluesoft @ AWS re:Invent 2017 + AWS 101

KinesisKinesis Firehosecapture, transforms and load streaming data into s3, redshift, kinesis analytics for real time analytics

Kinesis Analyticsprocess streaming data in real time with standard SQL without having to learn new languages or processing frameworks - run queries continuously

Kinesisplatform for collecting, storing and analysing streaming data - you can load terrabytes of data per hour from IoT devices, mobile apps, etc. Kinesis offers 3 services.

Kinesis Streamscontinuously capture and store treats of data per hour from thousands for sources

Page 39: Bluesoft @ AWS re:Invent 2017 + AWS 101

AnalyticsAmazon QuickSightcloud business analytics service that makes it easy to build visualizations, perform ad-hoc analysis, and quickly get business insights.

Amazon Redshiftfast, fully managed, petabyte - scale data warehouse that makes it simple and cost - effective to analyze all your data using your existing business intelligence tools.

Page 40: Bluesoft @ AWS re:Invent 2017 + AWS 101

ETLAWS Gluefully managed ELT service that makes it easy to move data between data stores.

Disponibiliza um serviço ETL gerenciado, executado em um ambiente Apache Spark sem servidor.

Para não Spark, Hive, Pig, etc. usar Data Pipeline

Amazon Data PipelineMove data between different AWS compute and storage services. Access, Transform and Process at Scale and Store Results.

Serviço de orquestração com flexibilidade de ambiente de execução, do acesso e do controle sobre os recursos que executam código, bem como sobre o próprio código responsável pelo processamento dos dados.

Page 41: Bluesoft @ AWS re:Invent 2017 + AWS 101

IAAmazon Pollyturns text into Speech

Amazon Rekognitionimage analysis

Amazon LEXbuilding conversational interfaces into any application using voice and text

Page 42: Bluesoft @ AWS re:Invent 2017 + AWS 101

IA and MobileAWS Mobile Hubquickly create and configure mobile app backends features and integrate them to the mobile app

Amazon Cognitoserverless identity service

Amazon Pinpointtarget campaigns to drive user engagement (e-mails, SMS, push notifications)

Machine Learningmakes it easy for developers of all skill levels to use machine learning technology. Provides visualisation tools and wizards that guide you through the process of creating machine learn ing models

Amazon Device Farmtest apps on many devices at once (Android, iOS and web)

Page 43: Bluesoft @ AWS re:Invent 2017 + AWS 101

IA and MobileAWS Mobile Hubquickly create and configure mobile app backends features and integrate them to the mobile app

Amazon Cognitoserverless identity service

Amazon Pinpointtarget campaigns to drive user engagement (e-mails, SMS, push notifications)

Machine Learningmakes it easy for developers of all skill levels to use machine learning technology. Provides visualisation tools and wizards that guide you through the process of creating machine learn ing models

Amazon Device Farmtest apps on many devices at once (Android, iOS and web)

Page 44: Bluesoft @ AWS re:Invent 2017 + AWS 101

Mobile and Application ServicesSimple Workflow Servicedevelopers build, run, and scale background jobs that have parallel or sequential steps (like Step functions but no visual and more control of your logic)

Amazon API Gatewaycreate, publish, maintain and monitor secure APIs at scale

Mobile Analyticsmeasure app usage and revenue

AWS Step Functionscoordinate componentes of distributed applications and micro services using visual workflows

Page 45: Bluesoft @ AWS re:Invent 2017 + AWS 101

Messaging and App StreamingAmazon Workspacesfully managed desktop computing service

Amazon AppStream 2.0store your app from AWS to any device running in a web browser

Amazon SQSmanaged queuing service

Amazon SNSpush notification service

Amazon SESsend e-mails

Page 46: Bluesoft @ AWS re:Invent 2017 + AWS 101

IoTAWS IoTconnect devices to AWS

AWS Greengrassrun local compute, lambda, messaging, caching, syncing for connected devices

AWS ioT Buttonprogramable button (Dash alike)

Page 47: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 48: Bluesoft @ AWS re:Invent 2017 + AWS 101

back to re:INVENT

Page 49: Bluesoft @ AWS re:Invent 2017 + AWS 101

first keynote

Page 50: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 51: Bluesoft @ AWS re:Invent 2017 + AWS 101

$18B+ revenue run rate

42% growth rate

AWS 44% of the public cloud marketshare (more than all other competitors combined)

Millions of Active Customers airbnb, slack, intercom, pinterest, sony, go pro, johson, pfizer, GE,

philps, siemens, netflix, disney, hbo, discovery, fox, kellogs, coca cola, samsung, LG

3000 government agencies 8000 academic institutions

Page 52: Bluesoft @ AWS re:Invent 2017 + AWS 101

Pace of Innovation

2016 1000+ Features 2017 1300+ Features

Page 53: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 54: Bluesoft @ AWS re:Invent 2017 + AWS 101

What builders really want?

6 songs

Page 55: Bluesoft @ AWS re:Invent 2017 + AWS 101

second keynote

Page 56: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 57: Bluesoft @ AWS re:Invent 2017 + AWS 101

Voice is next big disruptionit’s a natural interface

how you interact with people?

Page 58: Bluesoft @ AWS re:Invent 2017 + AWS 101

Security is everyone’s job

Encryption is not only faster and more efficient now. There’s really no excuse not to encrypt your data.

Page 59: Bluesoft @ AWS re:Invent 2017 + AWS 101

Dance like no one is watching Encrypt like everyone is

Page 60: Bluesoft @ AWS re:Invent 2017 + AWS 101

Trusted Advisor

Page 61: Bluesoft @ AWS re:Invent 2017 + AWS 101

Inspector (app level)

Page 62: Bluesoft @ AWS re:Invent 2017 + AWS 101

GuardDuty (network level plus IA)

Page 63: Bluesoft @ AWS re:Invent 2017 + AWS 101

Serverless

Page 64: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 65: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 66: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 67: Bluesoft @ AWS re:Invent 2017 + AWS 101

Product LaunchAmazon Elastic Container Service for Kubernetes (EKS)

Page 68: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 69: Bluesoft @ AWS re:Invent 2017 + AWS 101

Go and .NET Support

Page 70: Bluesoft @ AWS re:Invent 2017 + AWS 101

Product LaunchAWS Serverless Application Repository

Publish and Find Lambdas to use

Page 71: Bluesoft @ AWS re:Invent 2017 + AWS 101

AI

Page 72: Bluesoft @ AWS re:Invent 2017 + AWS 101

AI

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Vision Speech LanguageServices

Platforms

Frameworks

Infrastructure

Amazon ML Spark & EMR KinesisMechanical

TurkAmazon ECSAmazon Batch

AWS Deep Learning AMI

ApacheMXNet TensorFlow Caffe2

& Caffe Theano Keras CognitiveToolkit

PyTorch

GPU CPU IoT(Greengrass)

Mobile

Gluon

Page 73: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS DeepLensA camera fully loaded with onboard compute power optimized for deep learning

Page 74: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon Sagemaker- prebuilt notebooks that solve common problems in machine learning - 10 algorithms to address problems - Import your own if you need a custom solution - “one-click training” specify the location of your dataset in S3, choose

an instance type to run the computation, and Sagemakers does all the heavy lifting, setting up the algorithms to run your training.

- “one-click-deploy“ set the instance type and minimum/maximum numbers for your cluster and Sagemaker then gives you secure endpoints to connect to your app.

Page 75: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon Rekognition

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon Rekognit ion

Extract rich metadata from visual content

Object and SceneDetection

FacialAnalysis

FaceComparison

FacialRecognition

Celebrityrecognition

Imagemoderation

Text in Image

Page 76: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Maple

Villa

BushesGrass

Tree

House

Window

Sky

Mountain Range

Forest

Clouds

Object and scene detection makes it easy for you to add features that search, filter, and curate large image libraries.

Identify objects and scenes and provide confidence scores

DetectLabelsObject & Scene Detect ion

Page 77: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Demographic Data

Facial Landmarks

Sentiment Expressed

Image Quality

Brightness: 23.6Sharpness: 99.9

General Attributes

Fac ia l Analys is DetectFaces

Analyze facial characteristics in multiple dimensions

Smiling

99.1%

Female

100%

Mouth Closed

99.5%

Age Range

26 – 43 years old

Crowd Mode

Page 78: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Facia l Analys is

Image Quality

Facial Landmarks

Demographic Data Emotion Expressed

General Attributes

Facial PoseBrightness 23.6%Sharpness 99.9%

EyeLeft,EyeRight,NoseRightPupil,LeftPupil

MouthRight,LeftEyeBrowUpBounding Box...

Age Range 29-45Gender:Male 96.5%

Happy 83.8%Surprised 0.65%

Smile:True 23.6%EyesOpen:True 99.8%Beard:True 99.5%Mustache:True 99.9%...

Pitch 1.446Roll 5.725Yaw 4.383

DetectFaces

Page 79: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS Rekognition Videoprocess real-time and batch video to detect objects, people, activities, and more

- detect inappropriate content - check surveillance footage for missing people - continually trained, gets “smarter” as more people use it

Page 80: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon Kinesis Video Streamsits real time streaming capabilities for video

- integrates with Rekognition video (as an input source) - SDK that manufacturers can use to integrate it directly into their devices

Page 81: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

http://amzn.to/takeselfie

Page 82: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

End-to-End ArchitectureSELECT

STREAM COUNT(*) AS MUSTACH_COUNT,STEP(ROWTIME BY INTERVAL '1' SECOND)

FROM SOURCE_STREAMWHERE HAS_MUSTACH = TRUE;

Amazon Kinesis Stream

Amazon Kinesis

Analytics

Amazon Cognito

Amazon Kinesis Stream

AmazonDynamoDB

Amazon Lambda

Amazon S3

JavaScript SDK

AmazonRekognition

Amazon Kinesis

Firehose

Amazon S3

Page 83: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon Rekognit ion Case StudyW a s h i n g t o n C o u n t y S h e r i f f ’ s O f f i c e

Chris AdzimaWashington County Sheriff’s [email protected]

Page 84: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Real-wor ld example

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

The solut ion

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Real-wor ld example

Page 85: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Unlimitedreplays

Returns an MP3 or audio stream

Lightning-fast response

Fully managed and low cost

Amazon PollyTurn text into lifelike speech using deep learning technologies to synthesize speech that sounds like a human voice

Potential use cases

Content creation Education and E-learning

Mobile and desktop applications Customer contact center

Internet of Things (IoT) Accessibility

Page 86: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon LexConversational interfaces for your applications, powered by the same natural language understanding (NLU) and automatic speech recognition (ASR) models as Alexa

Integrated development in

AWS console

Trigger AWS Lambda

functions

Multi-step conversations

Continually improving ASR and

NLU models

Enterprise connectors

Fully managed

Potential use cases

Appointment booking Customer support (Contact Center bots)

Informational services Access enterprise data

Internet of Things (IoT)

Page 87: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon Transcribeconverts speech to text

Page 88: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon Translateit translates text from one language to another

use batches of text from S3 it boasts real-time translation

Page 89: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon Comprehendfully managed natural language processing service

Provide data from your lake (S3) via an API then Comprehend will provide four elements for analysis:

1 Entities – Things like people, dates, and specific places 2 Key phrases – Comprehend picks out the “most important” sets of words 3 Language – Automatic detection of the language used 4 Sentiment – Is the text saying something positive or negative?

Page 90: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon Comprehend

Page 91: Bluesoft @ AWS re:Invent 2017 + AWS 101

Customer Voice

Page 92: Bluesoft @ AWS re:Invent 2017 + AWS 101

Content Recommendation

Page 93: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

The Alexa Family

Page 94: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 95: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

“Book a hotel”Book hotel

NYC

“Book a hotel in NYC”

Automatic speech recognition

Hotel booking

New York City

Natural language understanding

Intent/slotmodel

UtterancesHotel bookingCity New York CityCheck In April 19Check Out April 21

“Your hotel is booked for April 19”

Amazon Polly Confirmation: “Your hotel is booked for April 19”

“Can I go aheadwith the

booking?”

a

in

Page 96: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon Lex

UtterancesSpoken or typed phrases that invoke your intent

BookHotelIntentsAn intent performs an action in response to natural language user input

SlotsSlots are input data required to fulfill the intent

FulfillmentFulfillment mechanism for your intent

Page 97: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon Lex—create a bot

1

2

Define sample utterances

Define slots

Create bot

Page 98: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

2

3

Confirm transaction

Fulfill transaction

1 Elicitinformation

Interact with bot

Amazon Lex—interact with a bot

Page 99: Bluesoft @ AWS re:Invent 2017 + AWS 101

Alexa for BusinessAlexa for Business is a fully managed service for

Alexa voice-controlled devices at work.

just say, “Alexa, start the meeting.”

Page 100: Bluesoft @ AWS re:Invent 2017 + AWS 101

Tools

Page 101: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 102: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 103: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 104: Bluesoft @ AWS re:Invent 2017 + AWS 101

Mobile

Page 105: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

MOBILE INDUSTRY TRENDS

Time spent in apps and growing

1.6T hours

Source: AppAnnie

New enterprise apps built with web technologies

50%+

Source: AWS

JavaScript – most commonly used programming

language

66.7%▲

Source: Stack Overflow

Page 106: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

THREE SIMPLE STEPS1. Pick a Platform

Mobile Hub

2. Set Up Cloud Services

Native SDKs

3. Connect Your App

Mobile CLI AWS Amplify

Page 107: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

MOBILE CLI : SETTING UP CLOUD SERVICES

> awsmobile init

> awsmobile user-signin enable

Initialize your app

Enable User Sign-in

Supported services:

• user-signin (Amazon Cognito)

• analytics (Amazon Pinpoint)

• database (Amazon DynamoDB)

• user-files (Amazon S3)

• cloud-api (API GW & AWS Lambda)

Web app deployment support:

• hosting (Amazon S3 and Amazon CloudFront)

Page 108: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

APP DATA: HARD PROBLEMS REMAIN

Data requirements vary across devices and become harder

when multiple users share data

Users want instant access to data

Building scalable data-driven apps without learning

distributed systems concepts is hard

Users want to continue using their apps even with low or no connectivity

Page 109: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS AppSync

Page 110: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

START BUILDING FAST

Page 111: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

EASY ACCESS TO RICH DATA

{"id": "1","name": "Get Milk","priority": "1"

},"id": "2","name": "Go to gym","priority": "5"

},…

type Query {getTodos: [Todo]

}

type Todo {id: ID!name: Stringdescription: Stringpriority: Intduedate: String

}

query {getTodos {

idnamepriority

}}

Model data with application schema

Client requests what it needs

Only that data is returned

Page 112: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

INTEGRATE WITH YOUR APPLICATION

Page 113: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS AmplifyAWS Amplify is a JavaScript library for frontend and mobile

developers building cloud-enabled applications.

The library is a declarative interface across different categories of operations in order to make common tasks easier to add into

your application.

"I was able to use AWS Cognito to integrate a full-featured authentication system, including email signup verification and

MFA, into a React application with less than 10 lines of code, in about 20 minutes. That time would have been drastically less if I

had already created a user pool beforehand."

Page 114: Bluesoft @ AWS re:Invent 2017 + AWS 101

Networking

Page 115: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Load balancer used to route incoming requests to multiple Amazon EC2 instances, containers, or IP addresses in your VPC.

ELB

EC2Instance

EC2Instance

EC2Instance

Page 116: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Application Load Balancer Network Load Balancer Classic Load Balancer

Protocol HTTP, HTTPS, HTTP/2 TCP TCP, SSL, HTTP, HTTPS

SSL offloading ✔ ✔IP as Target ✔ ✔Path-based routing, Host-based routing ✔Static IP ✔WebSockets ✔ ✔Container Support ✔ ✔

Page 117: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

For TCP in VPC, use Network Load Balancer.

For all other use cases in VPC , use Application Load Balancer

For Classic networking, use Classic Load Balancer

Page 118: Bluesoft @ AWS re:Invent 2017 + AWS 101

Data

Page 119: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 120: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 121: Bluesoft @ AWS re:Invent 2017 + AWS 101
Page 122: Bluesoft @ AWS re:Invent 2017 + AWS 101

Aurora Multi-Master

Page 123: Bluesoft @ AWS re:Invent 2017 + AWS 101

Aurora ServerlessDatabase starts up on demand, shuts down when it’s not in use…

when it is in use, you’re billed by the second.

Page 124: Bluesoft @ AWS re:Invent 2017 + AWS 101

DynamoDB Global TablesThe first fully managed, multi-master, multi-region

database system in the world

Page 125: Bluesoft @ AWS re:Invent 2017 + AWS 101

DynamoDB On-Demand Backupcreate backups (and restore them) with one click or API call

Page 126: Bluesoft @ AWS re:Invent 2017 + AWS 101

Amazon NeptuneNeptune is a fully managed graph database service

store billions of records will millisecond latency

Page 127: Bluesoft @ AWS re:Invent 2017 + AWS 101

S3 Select and Glacier SelectGood for Data Lakes

pull out only the data you need using an API to pull only specific parts of an object

Page 128: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon S3 By The Numbers

44 Availability Zones(16 more coming in 2018)

16 Regions(5 more coming in 2018)

Trillions of objects

Millions of requests per second

One of first three AWS Services

(2006)

99.999999999% Durability

Page 129: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon S3 Avai lab i l i ty Zones

S3 stores data in at least 3 Availability Zones (AZ’s)

Each AZ can be up to 8 physical data centers

Unavailability of a data center or an AZ does not impact

overall S3 availability

Low latency private network connect data

centers and AZ’s

Physically separate – even extremely uncommon disasters would only affect a single AZ

Data is automatically distributed across a minimum of 3 AZ’s GEO separated within an AWS Region

Page 130: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon S3 Storage Classes& T r a n s i t i o n s

S3 Standard S3 Standard –Infrequent Access

Amazon Glacier

Active data

Synchronous access

Milliseconds retrieval

2.1¢-GB/mo

Archive data

Asynchronous access

Minutes-to-hours retrieval

0.4¢-GB/mo

Infrequently accessed data

Synchronous access

Milliseconds retrieval

1.25¢-GB/mo

Page 131: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon S3 Secur i ty , Enc rypt ion & Compl ianceT h e b r o a d e s t s e t o f t o o l s i n t h e i n d u s t r y

Security• IAM and Bucket Policies• Access Control Lists• Audit logging with CloudTrail

& Alerts with CloudWatch• Secure CloudFormation

templates• Amazon Macie• S3 Console Permission Checks

Encryption• Encryption in transit with TLS• SSE-S3 – Amazon S3 manages

data & keys• SSE-C – Customer managed keys• SSE-KMS – Master keys in KMS• CSE – 100% Customer managed• Default Bucket Encryption• Encryption Status in Inventory

Compliance• PCI-DSS• HIPAA/HITECH• FedRAMP• FISMA• EU Data Protection

Directive

Page 132: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Do More With Your In -place Data

• Athena• Redshift Spectrum• QuickSight• EMR

Data Lake Storage IoT Storage Machine Learning

& AI Storage

• AWS IoT• Greengrass• Other IoT sensors

• Rekognition• LEX• Polly• MXNet & TensorFlow

Page 133: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Enter Data Lake Architectures

Data lake is a new and increasingly popular architecture to store and analyze massive volumes and heterogeneous types of data

Page 134: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Benefits of a Data Lake—All Data is in One Place

Analyze all of your data, from all of your sources, in one stored

location

“Why is the data distributed in many locations? Where is the

single source of truth?”

Page 135: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Designed for 11 9s of durability

Designed for 99.99% availability

Durable Available High performance� Multiple upload� Range GET� Scalable throughput

� Store as much as you need� Scale storage and compute

independently� No minimum usage commitments

Scalable� Amazon EMR� Amazon Redshift Spectrum� Amazon DynamoDB� Amazon Athena� AWS Glue� Amazon Rekognition� Amazon Macie

Integrated� Simple REST API� AWS SDKs� Simple management tools� Event notification� Lifecycle policies

Easy to use

Why Amazon S3 for a Data Lake?

Page 136: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

AWS Direct Connect AWS Snowball ISV Connectors

Amazon Kinesis Firehose

Amazon S3 TransferAcceleration

AWS StorageGateway

Data Ingestion into Amazon S3

Page 137: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Building a Data Lake on AWS

Kinesis FirehoseAthena

Query Service

Page 138: Bluesoft @ AWS re:Invent 2017 + AWS 101

© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Processing and Analytics

Real-time Batch

AI and Predictive

BI and Data Visualization

Transactional and RDBMS

AWS LambdaApache Storm

on EMR

Apache Flink on EMR

Spark Streaming on EMR

Elasticsearch Service

Kinesis Analytics, Kinesis Streams

DynamoDB

NoSQL DB Relational DatabaseAurora

EMRHadoop, Spark,

Presto

Amazon RedshiftData Warehouse

Amazon AthenaQuery Service

Amazon LexSpeech recognition

Amazon Rekognition

Amazon PollyText to speech

Machine LearningPredictive analytics

Kinesis Streams and Firehose

Page 139: Bluesoft @ AWS re:Invent 2017 + AWS 101

IoT

Page 140: Bluesoft @ AWS re:Invent 2017 + AWS 101

IoT is about…“closing the gap between the physical and digital

world in self-reinforcing and self-improving systems.”

Page 141: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS IoT 1-Click

Page 142: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS IoT Device ManagementIoT Device Management is similar to 1-Click, but at a larger scale.

Onboard, deploy, and manage your fleet of devices all from a single location. Organize inventory, query the fleet for troubleshooting, and remotely deploy updates

take action on subsets of your devices, not just all of them at once

Page 143: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS IoT Device DefenderMany of the attacks we’ve seen in recent years have

utilized unsecured IoT devices.

Device Defender allows you to set device policies, audit them, and monitor behaviours on an individual level to identify anomalies and out-of-compliance behaviours

Send you automatic alerts when it detects a problem

Page 144: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS IoT AnalyticsTraditionally, IoT devices pick up a lot of “noisy” data, like

temperature and humidity, resulting in raw, unstructured information that’s very difficult to process.

Page 145: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS FreeRTOSWhile larger devices often come with a full onboard CPU, smaller ones tend

to use an MCU (micro controller unit) and they do still need an operating system. Amazon has created their own version of FreeRTOS (a commonly

used OS in these devices), and it’s got some awesome features.

Amazon FreeRTOS comes with prepackaged libraries to connect to AWS services, update, and secure the device. It also allows you to easily send

data to the cloud for further analysis.

Page 146: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS GreenGrassExecute funções lambda nos dispositivos com segurança usando recursos locais de computação, sistema de mensagens, armazenamento de dados

em cache e sincronização para dispositivos conectados.

Page 147: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS GreenGrass Exemplo

You have a collection of IoT sensors deployed in the field, along with a GreenGrass device. Rather than sending data straight to the cloud, the

sensors can connect to the GreenGrass device directly and have it perform some operation for them. This is done locally – the sensors don’t need to be

connected to the public internet to communicate with GreenGrass.

This saves time by lowering the latency of connections, and money by filtering data from the sensors before sending it all to the cloud for

processing.

Page 148: Bluesoft @ AWS re:Invent 2017 + AWS 101

AWS GreenGrass Machine Learning Inference

GreenGrass device still operates the same way – at the edge of your network. But it can now apply machine learning models in the field.

ex: an IoT sensor that takes an action in response to a voice command. Before, you’d have to send that data to the cloud for processing, then back to the sensor, which would then trigger the action (back to the cloud again, most likely). With Machine Learning Inference on a GreenGrass device, you can do

all of that locally, resulting in much faster response times.

Page 149: Bluesoft @ AWS re:Invent 2017 + AWS 101

Obrigado!@andrefaria - andrefaria.com