SlideShare a Scribd company logo
Choices
http://www.flickr.com/photos/paulsynnott/3392386740
ArcGIS Server
Dave Bouwman
dbouwman@dtsagile.com
Twitter: @dbouwman
In Amazon EC2
http://www.flickr.com/photos/jackbrodus/258077303
Code fu!!!!
http://www.flickr.com/photos/joriel/4959821795
F#
Ruby
Haskel
Javascript
Objective C
Java
bashPython
PHP
Scala
PowerBuilder
C++
smalltalk
Flex / ActionScript
ASP.NET MVC
+
Using ArcGIS Server in EC2
< deploytcodet
Enuf! Deploys meh codez nao!
http://www.flickr.com/photos/kwl/4116389731
ArcGIS Server v10 (pre-release)
.NET v4
ForestHealth.us
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
ArcGIS Server in EC2
http://www.flickr.com/photos/paulsynnott/3391584753
Using ArcGIS Server in EC2
Getting Started…
http://www.flickr.com/photos/taniaedu/1554407199
http://www.flickr.com/photos/mujitra/2527994700
Setup Amazon Account
Using ArcGIS Server in EC2
AMI
http://www.flickr.com/photos/yakinik/4625973891
Using ArcGIS Server in EC2
ArcGIS Server SQL Server / ArcSDE
Web Server
Pricing
$0.48 * 24h * 30d = $345.60
Large Instance
7.5 GB memory
4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each)
850 GB instance storage
64-bit platform
I/O Performance: High
API name: m1.large
Production
$0.12 * 8h * 20d = $19.20
Small Instance
1.7 GB memory
1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit)
160 GB instance storage
32-bit platform
I/O Performance: Moderate
API name: m1.small
$0.12 * 24h * 30d = $86.40
dev / demo
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
RDP
Now what?
Move The
app!
http://www.flickr.com/photos/taniaedu/1554390505
ArcGISOnline
Tile Service
ArcGIS Feature
Service
Data Service
(ASP.NET MVC)
Application
Data needed re-thinking
http://www.flickr.com/photos/miletbaker/4613216466
Data
Using ArcGIS Server in EC2
http://www.flickr.com/photos/mikumin/4160710773
No SQL + ArcSDE? Wha?!
Vector Data
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
Performance
ArcGIS Server
Douglas-Peucker
Using ArcGIS Server in EC2
%
%
Zen: Generalize. Always.
http://www.flickr.com/photos/craigmdennis/3557378176
Spatial Views
3141
Counties
90,000+
Pest Records
Definition Query:
Year = 2009 and
StateFips = 08 and
DCA = 11009
VIEW
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
~240ms: query, render and transfer
Data Service
(ASP.NET MVC)
Using ArcGIS Server in EC2
Tabular data  SQL Express
Using ArcGIS Server in EC2
http://www.flickr.com/photos/mujitra/2134721435
Let’s
deploy!
Using ArcGIS Server in EC2
Using ArcGIS Server in EC2
Use Desktop on EC2
Test REST API remotely
Edit Config Files…
hours
http://www.flickr.com/photos/49488791@N03/4538548843
It’s alive!
Lessons Learned:
No Cape Required!
Inexpensive to get started
Design for Deployment
Re-Cap*
http://www.flickr.com/photos/mujitra/2527174367
http://www.flickr.com/photos/yakinik/4625973891
http://www.flickr.com/photos/yakinik/4882027295
Pack up the data
http://www.flickr.com/photos/mujitra/2192326482
Using ArcGIS Server in EC2
http://www.flickr.com/photos/mujitra/2134721435

More Related Content

What's hot (16)

PPTX
Vagrant and chef
Nick Ramirez
 
PDF
Warbler at RubyConf 2010
Nick Sieger
 
PPTX
.NET, Alexa and me
Rafał Hryniewski
 
PPTX
Understand immutable infrastructure, what? Why? How? - Meta-Meetup DEVOPS NIGHT
Quentin Adam
 
PDF
Using Varnish with WordPress (#wcilm)
Tiffany Kuchta
 
PPTX
Understand Immutable infrastructure - at Build Stuff Kiev 2016
Quentin Adam
 
PDF
How to Automate your Online Tasks using IFTTT-Amy Carreon-amyzingvirtualprofe...
AmyC1018
 
PDF
FITC 2012 Jellybean Tips and Tricks
Faisal Abid
 
PDF
Better UX using Meteor and Famo.us
Patrik Svensson
 
PDF
Mesos at OpenTable
samsalisbury
 
PPTX
Austin cassandra meetup
gdusbabek
 
PDF
.NET Development with the Tools You Know (and a Few You Might Not)
Allen-Michael (AM) Grobelny
 
PPTX
A DevOps Discussion
Josh Gillespie
 
PPTX
Instagram photos in your tablet photo frame [Solved]
BEN LLEWELLYN
 
PPTX
Automation Zaman Now
Ibnu Fajar Yunardi
 
PDF
Building Better Chef Community Cookbooks
Tim Smith
 
Vagrant and chef
Nick Ramirez
 
Warbler at RubyConf 2010
Nick Sieger
 
.NET, Alexa and me
Rafał Hryniewski
 
Understand immutable infrastructure, what? Why? How? - Meta-Meetup DEVOPS NIGHT
Quentin Adam
 
Using Varnish with WordPress (#wcilm)
Tiffany Kuchta
 
Understand Immutable infrastructure - at Build Stuff Kiev 2016
Quentin Adam
 
How to Automate your Online Tasks using IFTTT-Amy Carreon-amyzingvirtualprofe...
AmyC1018
 
FITC 2012 Jellybean Tips and Tricks
Faisal Abid
 
Better UX using Meteor and Famo.us
Patrik Svensson
 
Mesos at OpenTable
samsalisbury
 
Austin cassandra meetup
gdusbabek
 
.NET Development with the Tools You Know (and a Few You Might Not)
Allen-Michael (AM) Grobelny
 
A DevOps Discussion
Josh Gillespie
 
Instagram photos in your tablet photo frame [Solved]
BEN LLEWELLYN
 
Automation Zaman Now
Ibnu Fajar Yunardi
 
Building Better Chef Community Cookbooks
Tim Smith
 

Viewers also liked (6)

PDF
Raport de CSR al Holcim Romania 2006
responsabilitate_sociala
 
PDF
Axoss Security Awareness Services
Bulent Buyukkahraman
 
PPTX
Got &lt;video>? Implementing HTML5 Video for Library Tutorials
Oregon State University Libraries and Press
 
PPT
090318 Progressive Laws Nl
Ed Kuiters
 
PDF
Smart Work Centers Fact Sheet
Shane Mitchell
 
PPT
я охотник за киловаттами
Tatyana Kargina
 
Raport de CSR al Holcim Romania 2006
responsabilitate_sociala
 
Axoss Security Awareness Services
Bulent Buyukkahraman
 
Got &lt;video>? Implementing HTML5 Video for Library Tutorials
Oregon State University Libraries and Press
 
090318 Progressive Laws Nl
Ed Kuiters
 
Smart Work Centers Fact Sheet
Shane Mitchell
 
я охотник за киловаттами
Tatyana Kargina
 
Ad

Similar to Using ArcGIS Server in EC2 (20)

PDF
Using ArcGIS Server with Ruby on Rails
Dave Bouwman
 
PDF
Behaviour-Driven Development: escrevendo especificações ágeis
Hugo Lopes Tavares
 
PDF
Developing for Mobile
Remy Sharp
 
PPTX
Introduction to HTML5 & CSS3
Pradeep Varadaraja Banavara
 
PPTX
One Trick 2 0 Tools Tds March 2011a
Ann Walker Smalley
 
PPT
vBACD - Introduction to Opscode Chef - 2/29
CloudStack - Open Source Cloud Computing Project
 
PPTX
From Code to the Monkeys: Continuous Delivery at Netflix
Dianne Marsh
 
PPTX
Building Rackspace Cloud Monitoring
gdusbabek
 
PPTX
YQL - HackU IIT Madras 2012
Pradeep Varadaraja Banavara
 
KEY
Drupal as Base For Your NEXT Mobile App
Sumit Kataria
 
PDF
Cloud Computing im Unternehmen / Jan 25th 2011
Lothar Wieske
 
KEY
モジュール指向勉強会-コードリーディングを始める前に-
Hiroki Kondo
 
PDF
Webmaker Workshop: Appmaker in 60mins
Bob Chao
 
PDF
Adapting to Input — Smashing Conference NYC
Jason Grigsby
 
PDF
Cloud Architecture + Cloud Architects / Jan 24th 2012
Lothar Wieske
 
PPTX
One Trick 2.0 Tools V2
Ann Walker Smalley
 
PDF
Play withmultimedia mac
Maso Lin
 
PDF
JavaScript with Adobe applications - Acceleration web development!
shinobu tsutsui
 
PDF
The web is too slow
Andy Davies
 
PDF
YQL: Hacking on steroids - Yahoo! Open Hack Day 2012
Saurabh Sahni
 
Using ArcGIS Server with Ruby on Rails
Dave Bouwman
 
Behaviour-Driven Development: escrevendo especificações ágeis
Hugo Lopes Tavares
 
Developing for Mobile
Remy Sharp
 
Introduction to HTML5 & CSS3
Pradeep Varadaraja Banavara
 
One Trick 2 0 Tools Tds March 2011a
Ann Walker Smalley
 
vBACD - Introduction to Opscode Chef - 2/29
CloudStack - Open Source Cloud Computing Project
 
From Code to the Monkeys: Continuous Delivery at Netflix
Dianne Marsh
 
Building Rackspace Cloud Monitoring
gdusbabek
 
YQL - HackU IIT Madras 2012
Pradeep Varadaraja Banavara
 
Drupal as Base For Your NEXT Mobile App
Sumit Kataria
 
Cloud Computing im Unternehmen / Jan 25th 2011
Lothar Wieske
 
モジュール指向勉強会-コードリーディングを始める前に-
Hiroki Kondo
 
Webmaker Workshop: Appmaker in 60mins
Bob Chao
 
Adapting to Input — Smashing Conference NYC
Jason Grigsby
 
Cloud Architecture + Cloud Architects / Jan 24th 2012
Lothar Wieske
 
One Trick 2.0 Tools V2
Ann Walker Smalley
 
Play withmultimedia mac
Maso Lin
 
JavaScript with Adobe applications - Acceleration web development!
shinobu tsutsui
 
The web is too slow
Andy Davies
 
YQL: Hacking on steroids - Yahoo! Open Hack Day 2012
Saurabh Sahni
 
Ad

More from Dave Bouwman (12)

PPTX
HTML5: Not Just for Breakfast
Dave Bouwman
 
PDF
Client-Side Raster Modeling with PixelBender
Dave Bouwman
 
PDF
Vector Tile Caching: ArcStache
Dave Bouwman
 
PDF
ArcGIS Server in EC2
Dave Bouwman
 
PDF
Using ArcGIS Server in EC
Dave Bouwman
 
PDF
Building Secure Systems with ArcGIS Server
Dave Bouwman
 
PPTX
Usability in Emergency Response Applications
Dave Bouwman
 
PDF
Developing for the GeoWeb: Notes From The Field Dev Summit 2009
Dave Bouwman
 
PDF
Unit Testing 101
Dave Bouwman
 
PDF
Using Virtual Earth to Visualize Fire Risk (Sept 2008)
Dave Bouwman
 
PDF
Rocky Mountain URISA Talk (June 2008)
Dave Bouwman
 
PDF
Usability in the GeoWeb
Dave Bouwman
 
HTML5: Not Just for Breakfast
Dave Bouwman
 
Client-Side Raster Modeling with PixelBender
Dave Bouwman
 
Vector Tile Caching: ArcStache
Dave Bouwman
 
ArcGIS Server in EC2
Dave Bouwman
 
Using ArcGIS Server in EC
Dave Bouwman
 
Building Secure Systems with ArcGIS Server
Dave Bouwman
 
Usability in Emergency Response Applications
Dave Bouwman
 
Developing for the GeoWeb: Notes From The Field Dev Summit 2009
Dave Bouwman
 
Unit Testing 101
Dave Bouwman
 
Using Virtual Earth to Visualize Fire Risk (Sept 2008)
Dave Bouwman
 
Rocky Mountain URISA Talk (June 2008)
Dave Bouwman
 
Usability in the GeoWeb
Dave Bouwman
 

Recently uploaded (20)

PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 

Using ArcGIS Server in EC2

Editor's Notes

  • #3: It’s a great time to be a Geodeveloper
  • #5: Move from an idea
  • #6: To a working application very quickly
  • #7: And so we are seeing a change in project timelines. Specifically, in larger orgnaiztions,
  • #8: And so this can be somewhat frustrating.
  • #9: This is exactly where we were this spring. We had created a suite of application for the US Forest Service, and wanted to launch the Public facing application.
  • #18: Since there was no option to run ArcGIS Server pre-release on USDA servers, we talked with Esri and were able to join the EC2 beta program.
  • #19: Of course today, it’s a little easier – if you have an EDN license, you can use ArcGIS Server on EC2 for development and testing.
  • #21: First off, there is no free lunch here, so grab your credit card…
  • #22: Create an Amazon Web Services account,
  • #23: Once you’ve got your AWS account, the next step is to get in touch with Esri and ask for “Amys”
  • #24: Once you’ve got an account, you need access to the Amazon Machine Images. These are pre-configured machines just waiting to be called into action. Sitting on a shelf if you will. http://www.flickr.com/photos/yakinik/4625973891
  • #26: In our office, we have 3 physical servers involved…
  • #27: But when we move to the cloud, we need to think about what this is gonna cost on a montly basis…
  • #28: A Larger Instance for Production will run ~350/mo But if that’s too rich for your blood,
  • #29: You can run a small instance for dev/demo Work hours only ~20/mo
  • #30: Given that we were doing a proof of concept for our client, AND we were beta testing, we opted to go cheap, and run everything in a single large instance With that behind us it was time to fire things up, which is super easy… Launch Instance… get a coffee, and…
  • #31: Esri has come convenient video walk-thrus for this, so we’ll skip this part. Suffice to say it takes about 10 minutes.
  • #32: And then you can RDP to the server.
  • #33: http://www.flickr.com/photos/taniaedu/1554390505
  • #34: Our application talks to 3 types of services – a tile service hosted by Esri, a Feature service for the interative state/county boundaries and a custom data service running in ASP.NET MVC.
  • #35: Since everything was service based and configurable, the no changes were required to the application tier. In fact, the first thing we did was push the application across and validate that it still worked – only hitch was that it was still hitting our servers for data! ;-)
  • #36: Our original data storage design was another story. Since the plan was to deploy this at a USDA data center, keeping both the spatial and tabular data in the same database is easiest. Simple enough in SQL Server…
  • #37: It’s just a little “messy” shall we say.
  • #38: But we don’t have ArcSDE, and more specifically we don’t even have the option ArcSDE on SQL Server over in EC2. So time to rip things apart.
  • #41: Ok, whew! Using ArcCatalog, this is about a 30 second operation, which is good because that leaves us a little time to talk about
  • #42: Performance! Specifically how we can get our app to be faster.
  • #43: ArcGIS Server does a lot of different “things” on the back end, but if you boil it down it serves two things: Images and Json
  • #44: Essentially “generalization” is the process of removing nodes from a line, while still retaining the character of it’s shape. Most commonly done using the Douglas Peucker algorithm but
  • #45: Also done via a simple tool in ArcGIS. Ok Why?
  • #46: Data on the wire as Json. This essentailly made it possible to have deal with the boundary layers as features. Otherwise it was taking more than a minute to load and parse just the States!
  • #47: But that’s not the only benefit – by having fewer line segments, we see substantial decreases in rendering time for images
  • #48: Back to our tale… http://www.flickr.com/photos/craigmdennis/3557378176
  • #50: Since the counties effectively don’t change, but the additional pest records are added annually, the best option is to set this up as a spatial view in ArcSDE,
  • #51: and have the application set definition queries to just show specific data… But, we don’t have ArcSDE… so we bit the bullet and de-normalize the data.
  • #53: Again, using ArcCatalog. All well and good but now we have a feature class with more than 100,000 features in it.
  • #56: Custom data service running in ASP.NET MVC.
  • #57: This is the tabular data that was stored along side the spatial data. Since we are storing this in SQL Express in EC2, we need to
  • #58: e wanted to keep the database as small as possible so we “extracted” the tabular data into it’s own SQL database.
  • #59: So at this point we’ve changed up our data so we have a File Geodatabase, and a SQL database. We zipped these files up and we’re ready to roll.
  • #60: http://www.flickr.com/photos/mujitra/2134721435
  • #63: Once we have the files up on the server, I just used ArcCatalog to publish the map services
  • #67: Your instance is alive! But before you can play with it there are a few more things to do… http://www.flickr.com/photos/49488791@N03/4538548843
  • #69: It’s very easy to get started – between the documentation provided by Esri and Amazon (which you have to read!) it’s very straight forward
  • #71: If you are building a new application, deciding on the cloud deployment environment early will help avoid the data juggling we had to go through. Specifically – File Geodatabase is your Friend.
  • #72: Assuming you have an EDN license ;-)
  • #73: First, get approval to spend some money… and setup an Amazon AWS account http://www.flickr.com/photos/mujitra/2527174367
  • #74: Pick the size and types of instances you want http://www.flickr.com/photos/yakinik/4625973891
  • #75: Light it up and do some house keeping
  • #76: Pack up your data and application code… http://www.flickr.com/photos/mujitra/2192326482
  • #77: Re-Deploy map services
  • #78: And bask in the glow of cloud awesomeness! http://www.flickr.com/photos/seannaber/4043266651