120 likes | 253 Views
Buil ding GIS Apps in the Cloud. Matt Bertrand. Cloud Computing. Infrastructure - Provides computer infrastructure, typically a platform virtualization environment, as a service. Flexible and scalable Providers include Amazon Web Services, Rackspace Cloud, Microsoft Azure.
E N D
Building GIS Apps in the Cloud Matt Bertrand
Cloud Computing • Infrastructure - Provides computer infrastructure, • typically a platform virtualization environment, as a • service. • Flexible and scalable • Providers include Amazon Web Services, • Rackspace Cloud, Microsoft Azure
Amazon Web Services • Elastic Compute Cloud (EC2) • Provides resizable computing capacity • Designed to make web-scale computing easy & accessible to developers • Create and use “Amazon Machine Images” (AMI) • Launch identical virtual servers based on an AMI • Many templates available • Choose your operating system (Linux, Windows) • Choose your horsepower (RAM, processor, etc).
Amazon Web Services • Elastic Block Store • Persistent storage for Amazon EC2 virtual servers (instances) • Ideal for databases • Easily switch an EBS from one instance to another • Use to swap database from a small instance to a faster, more powerful instance
Scalability X-Large AMI X-Large AMI Small AMI EBS EBS Data PostGreSQL Data PostGreSQL GeoServer GeoServer Apache Apache Small AMI: 1.7 GB RAM 1 32-bit Virtual Core = 1 EC2 Compute Unit Extra Large AMI: 15 GB RAM 4 64-bit Virtual Cores = 8 EC2 Compute Units Light Load Setup Potential Heavy Load Setup
AWS Setup • Register for an account • Not free - cost is based on use of AMI’s and storage • ~ $2/day for a small running AMI instance • Pick a management console • AWS Web Console • ElasticFox addon for Firefox • Use to Manage AMI and EBS instances
AWS Setup • Select (or create) an AMI and launch an instance • Log in to the instance using SSH (secure shell) • Install and configure required software • Apache, GeoServer, PostGIS, etc • Create an Elastic Block Store (EBS) • Attach the EBS to the running instance • Use the EBS to store data or applications
Links • Amazon Web Services – aws.amazon.com • ArcGIS Server on AWS - http://bit.ly/9yT15C • WorldMap Alpha - worldmap.harvard.edu/alpha