56
The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web

Services David Cordes David McGuire

Jim Herries Sridhar Karra

Page 2: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Jim Herries

Atlas Maps

Page 3: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Atlas sample application

• The Esri Thematic Atlas Sample App is a configurable web application that uses a collection of intelligent web maps with text, graphics, and images to talk about our world.

Page 4: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Lots of maps needed, quickly

Page 5: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Key requirements

• Supply dozens of maps to an online atlas application • Stand up dozens of map services in two weeks • Enable team of map publishers • Option to iterate quickly on cartography, data, popups

Page 6: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

CloudBuilder delivered value to the team instantly

• Data lead – knows the data but not CloudBuilder

• Cartographers on team knew color and cartography but not the data and not CloudBuilder

• We all knew ArcGIS server and publishing workflows

• None of us wanted to manage a server in a production situation

CB

Page 8: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Lessons Learned

• Same day startup of server was a huge factor in project success • Teaching the team publishing methods was easy • Cache local, copy up FTP, now tile packages • Hundreds of cached services for the U.S. to 72k scale • 6 hours to cache the US down to 72 k • Use a checklist to save hundreds of hours’ time • Whatever data you have, you’re going to want additional attributes • Your corporate IT network staff are your friends (DNS changes, ports, etc) • Serve dynamic until popups and carto finalized • It’s just another server… • …but we don’t have to worry about it

Page 10: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

David McGuire

Going viral

Page 11: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Cloud Formation Demo

Page 12: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Crisis Thursday Saturday Friday

Servers Down

Page 13: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Traditional Trouble Shooting

• Reboot Servers? • Spread Services Across Local Machines? • Order New Equipment?

Panic!

Page 14: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Transition to the Cloud

Page 15: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Deployment

1 hr 15 mins

30 mins

15 mins

To Stage

To Generate An AMI

To Deploy Live Servers

Page 16: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

ELB

ArcGIS Servers

Enterprise Geodatabase

Server

Page 17: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Handle Traffic

Page 18: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

What We Learned

Start in the Cloud

Design for the Cloud

Plan Ahead

Avoid internal, static machines

Architecture should be cloud focused

Avoid emergencies

Page 19: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Aggregated Live Feeds…

Frequently Changing Data

How Can I Deploy and Scale?

Page 20: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Cloud Servers

Sync

Sync

Internal Processing

Server

S3 Bucket

Amazon

Page 21: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

ELB

ArcGIS Servers

ELB

Web Application

Servers

Page 22: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Hurricane PIM

Page 23: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Hurricane PIM

• Over 1 Million hits in 1 day on our web map • Over 7 Million dynamic map requests in 1 day

Page 24: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Next Phase

Linux

Auto Scaling

Cloud Front

Linux instances are cheaper and boot faster

Avoid manual load management

Take advantage of global content distribution

Page 25: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Complication

Internal Machine

TMAppsEventsS3 S3 Bucket

Production Security Group

US East Region

Availability Zone B Availability Zone C

m1.small proxy server

m1.small proxy server

Internet

Elastic Load Balancing

Amazon CloudFront Distribution

Auto Scaling

VPC Subnet 1 VPC Subnet 2

Page 26: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Resources

• Esri Sample Templates - http://esriurl.com/EsriAWSTemplate

• Amazon Sample Templates - http://esriurl.com/AWSTemplate

• Aggregated Live Feeds - http://esriurl.com/LiveFeeds

- Make sure the “Show ArcGIS Desktop Content” box is checked

Page 27: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Sridhar Karra

Managed Services

Page 28: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Agenda

• Introduction • Program Overview • Customer Deployments

- Architecture - Lessons

• Questions

Page 29: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Program Overview

Page 30: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Extending the ArcGIS platform…

Esri Managed Services Cloud based GIS infrastructure support

REPORTING ARCHIVE

REDUNDANCY PERFORMANCE TESTING

HIGH AVAILABILITY

BANDWIDTH

MONITORING

HARDWARE CHANGE MANAGEMENT

DEPLOYMENT SECURITY

DATA MANAGEMENT

INFRASTRUCTURE

SYSTEM DESIGN SOFTWARE

BACKUP

SCALABILITY STORAGE

DISASTER RECOVERY

CACHING AGOL INTEGRATION

Experienced, Secure, Reliable, Scalable

• Rapid Deployment • Reduced cost of ownership

• Access to Enterprise GIS Expertise • Scalable Resources

Page 32: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Esri Managed Services Cloud based GIS infrastructure support

Requirements Proposal / ROM

Staging

Contract

Verification

Questionnaire On Call Sizing / Arch. Design

Production Verification

Prod. Images

Monitoring Alerts / Notifications

Page 33: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Esri Managed Services Cloud based GIS infrastructure support

Requirements Proposal / ROM Contract Questionnaire On Call Sizing / Arch. Design

User Load

Application

Users Count; Peak (Yes / No)

GIS Services (Dynamic, Image, GP, Feature, Cached)

Security

Availability

SSL / AGS Tokens / Data at Rest / Encryption

SLA – 95%, 99% or 99.9%; Monitoring (24/7)

Infrastructure Public Cloud or Private Cloud; DB/Web/App Servers

Page 34: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Esri Managed Services Cloud based GIS infrastructure support

Requirements Proposal / ROM Contract Questionnaire On Call Sizing / Arch. Design

Benchmark

System Designer

PassMark; SystemCPU (AWS, Azure, Private Cloud)

Models; Designing; Capacity Planning

System Test

System Monitor

GIS Services; Web Applications; Service Times

System; GIS; DB; Process; Alerts / Notifications

MXDPerfStat Fix MXD issues (if any)

• http://www.arcgis.com • owner: EnterpriseImp

Page 35: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Esri Managed Services Cloud based GIS infrastructure support

Staging Verification Prod. Images

Deployment

Test

Update

MXD’s (MXDPerfStat); GIS Services (System Test)

Create Snapshot

Page 36: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Esri Managed Services Cloud based GIS infrastructure support

Production Verification Monitoring Alerts / Notifications

Snapshot

Prod. Servers

System

Application (URL)

DB

Process

Emails

24/7 Support

Page 37: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Many successful deployments…

Page 38: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Customer Deployments

Page 39: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Oregon Imagery Explorer

• Cached and dynamic image services • JS Application with Clip/Zip/Ship • SLA – 95%

• Search, download, use large imagery datasets • Simple, easy to use web viewer

Page 40: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Oregon Imagery Explorer (Lessons)

• Deployed in Amazon Web Services (AWS) • 40+ GIS Services (Image, Cache, GP, etc)

- (Min, Max) SOC instances vs. RAM - Paging Files / Swap space

• Raster/Cache data: 22 TB (Approx.) - Ship drives to AWS using Import / Export - Backup before shipping drives (New!!)

• Server Specs: 1 x Standard Extra Large Server - 4 Cores and 15 GB RAM - EBS Volumes: 23 drives

- Max EBS Volume is: 1 TB ONLY

- Windows Stripe (Server OS / Software RAID)

• CloudWatch (Monitor Disk Usage, Custom Counters (service stop, system reboot), CPU Alerts/Notifications)

Page 42: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Iberdrola USA Architecture and Workflow

Load Balancer Load Balancer

Outage Database

Amazon EC2 West

Amazon S3

Amazon EC2 East Primary / Auto-Scaled Cold Backup (DR Site)

Updates Every 15 Minutes

Page 43: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Iberdrola USA Outage Viewer (Lessons)

• Deployed in Amazon Web Services (AWS) • Points to Remember when Auto-Scaling:

- Plan for the Worst - Pick the “right” Instance Type when AS - “Launch” script - Contractual Cap: Max limit for Auto-Scaling - Time needed to launch a new “fully functional” instance - Termination Policy: Yes or No?

- IIS Logs – Usage logs?

- Licensing ? - Check with your Account Manager.

• Alerts and Notifications - System Counters - Data Update Scripts (ArcPy) - CloudWatch (Monitor Disk Usage, Custom Counters (service stop, system reboot), CPU

Alerts/Notifications)

Page 44: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Hurricane Sandy (Usage Statistics – New York)

Page 45: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Hurricane Sandy (Usage Statistics – New York)

Page 46: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Hurricane Sandy (Usage Statistics – Maine)

Page 47: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Hurricane Sandy (Usage Statistics – Maine)

Page 49: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Heat Map – Fun !!

Page 50: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Maine – October 29

Page 51: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Maine – October 30

Page 52: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Maine – October 31

Page 53: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Maine – November 1

Page 54: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Maine – November 2

Page 55: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra

Survey

• http://www.esri.com/events/devsummit/session-rater • Enter: “Extending Services in ArcGIS for Server” • 10 seconds • Comments really welcome

FYI: Slides for this presentation are available at: http://1drv.ms/1fnkpTK

Page 56: The Cloud's Cutting Edge: ArcGIS for Server Use …...The Cloud's Cutting Edge: ArcGIS for Server Use Cases for Amazon Web Services David Cordes David McGuire Jim Herries Sridhar Karra