Matt Bertrand Building GIS Apps in the Cloud
Infrastructure - Provides computer infrastructure, typically a platform virtualization environment, as a service. Flexible and scalable Providers include Amazon Web Services, Rackspace Cloud, Microsoft Azure Cloud Computing
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 Data PostGreSQL GeoServer Apache Data PostGreSQLGeoServer Apache EBS Small AMI EBS X-Large AMI Light Load SetupPotential Heavy Load Setup 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
Sample GIS Cloud App
AWS Setup 1. Register for an account Not free - cost is based on use of AMI’s and storage ~ $2/day for a small running AMI instance 2. Pick a management console AWS Web Console ElasticFox addon for Firefox Use to Manage AMI and EBS instances
AWS Management Console
AWS Setup 3. Select (or create) an AMI and launch an instance 4. Log in to the instance using SSH (secure shell) 5. Install and configure required software Apache, GeoServer, PostGIS, etc 6. Create an Elastic Block Store (EBS) 7. Attach the EBS to the running instance 8. Use the EBS to store data or applications
Links Amazon Web Services – aws.amazon.com ArcGIS Server on AWS - WorldMap Alpha - worldmap.harvard.edu/alpha