Top Banner
Cloud Building Blocks and FME
19
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Cloud Building Blocks & FME

Cloud Building Blocks and FME

Page 2: Cloud Building Blocks & FME

What is the cloud?

Page 3: Cloud Building Blocks & FME

Overview

Cloud data storage AWS Simple Storage (S3) AWS Aurora AWS RDS

Other critical AWS Services Simple Queuing Service (SQS) AWS Lambda

Common Architecture

Page 4: Cloud Building Blocks & FME

Data Considerations

● Uploading data to AWS is as slow as your internet connection.○ Tsunami UDP○ Aspera - 10 Mbps connection: 23 hours 100GB

● You can use AWS Import/Export to move large amounts of data into the cloud.

● Moving data around once it is in the cloud is fast.○ Within region: ~ 20MB/s○ Between regions: ~ 2 MB/s

Page 5: Cloud Building Blocks & FME

Cloud data storage

AWS Simple Storage (S3) - secure, durable, highly-scalable object storage

AWS RDS - a web service that makes it easy to set up, operate, and scale a relational database in the cloud.

AWS Aurora - provides up to 5x better performance than MySQL at a price point one tenth that of a commercial database.

Page 6: Cloud Building Blocks & FME

Secure, durable, highly-scalable object storage.

Reliability is 99.999999999% Over 3 million request per second. S3 is highly performant and applications can get 100’s of

requests a second via S3. $0.0330 per GB of storage. 5TB of data $160 a month. Can store single objects up to 5TB.

AWS S3 - Overview

Page 7: Cloud Building Blocks & FME

A simple key/value persistent object store. Every object is identified with a key. It is not a disk and doesn’t have a directory or folder

structure. It can be presented as a folder structure though.

AWS S3 - How it works

Page 8: Cloud Building Blocks & FME

You can host a static website on S3 for next to nothing. You can trigger events on S3 buckets when files are placed in there. Every object in S3 is web addressable.

https://s3.amazonaws.com/<bucket_name>/<keyname>

e.g.

https://s3.amazonaws.com/don.demo.safe.bigdata/imagery/c2775360-75d3-4e1b-b64d-16e39b8f50e8/130105_row_0_col_0.jp2

AWS S3 - Advanced

Page 9: Cloud Building Blocks & FME

Desktop transformers S3Uploader S3Downloader S3Deleter S3ObjectLister

FME Server S3 watcher :- Watch public S3 buckets that you do not have control of.

FME Server S3 subscriber :- Send data to S3 once a workspace has completed.

** When running workspaces on FME Cloud, expect transfer speeds averaging 20 MB/s instance >> S3 bucket. **

FME and S3

Page 10: Cloud Building Blocks & FME

AWS S3 is suited for:

1. Storing file-based datasets to process on FME Cloud.2. Storing large amounts of raster data, the bbox of the raster files

can be stored in PostGIS with a link to the object in S3.3. Automating data processing: Use S3 event notifications to send a

message to FME.4. Storing web map tiles, every file becomes web addressable so

they can be consumed by an application.

S3 uses

Page 11: Cloud Building Blocks & FME

Amazon RDS makes it easy to set up, operate, and scale database deployments in the cloud. The following databases are supported:

Oracle PostgreSQL (PostGIS) Microsoft SQL Server MySQL

AWS RDS

Page 12: Cloud Building Blocks & FME

The AWS RDS service lets you…

Deploy in minutes Apply software patches automatically Automate backups Scale storage and compute with one click Replicate to enhance availability and reliability

Did I mention...

Page 13: Cloud Building Blocks & FME

On-Premises vs RDS PostGIS

Machine: 16 Cores, 122GB of RAM, Linux, 1TB Storagehttps://awstcocalculator.com/

Page 14: Cloud Building Blocks & FME

Relational database engine that combines the speed and availability of high-end commercial databases, with the simplicity and cost-effectiveness of open source databases.

Works with the MySQL reader/writer

AWS Aurora

Page 15: Cloud Building Blocks & FME

AWS Aurora

5x better performance than MySQL 6 million inserts per minute, 30 million selects per minute 6 way replication across three availability zones. Continually backed up to S3 Fault tolerant and automatically repairs failures in

background. Crash recovery takes seconds not hours. Database cache survives a database restart

Page 16: Cloud Building Blocks & FME

Fully managed messaging queuing service. SQS can be used for:

Asynchronous communication pipelines Buffer queues for databases Asynchronous work queues

S3 event notifications

Simple Queuing Service

Page 17: Cloud Building Blocks & FME

A compute service that runs your code in response to events. It makes it easy to apply compute to data as it is enters or moves through the cloud.

Run code in response to modifications to objects in Amazon S3 buckets.

Create your own back-end that operates at scale Extend other AWS services

Lambda (beta)

Page 18: Cloud Building Blocks & FME

Common Architecture

Page 19: Cloud Building Blocks & FME

Thank You!

Questions?