Download presentation
Presentation is loading. Please wait.
Published byScarlett Blake Modified over 9 years ago
1
Application Programming in Cloud via Swift Swift Tutorial, CCGrid 2013, Hour 2 Ketan Maheshwari
2
Overview Part I –Cloud model of computation –Amazon ec2 setup –Tests accessing ec2 VM nodes Part II –Swift setup –Swift test drive Part III –Running a mock app using Swift on Cloud –Exercise
3
Cloud Model of Computation Compute resources drawn as VMs from a pool of hardware resources One time configuration Economical: Computation power “outsourced” More control: “root” access to VMs gives more setup options
4
Amazon EC2 setup For this tutorial, we encourage using Amazon EC2 cloud computing environment Any other cloud could be used if EC2 not available Create VMs
5
Swift Application programming language –aka parallel scripting –aka workflow framework Suited to a variety of applications Interfaced to –Clouds –Grids –Clusters –Supercomputers
6
What we need: Cloud side A number of VM instances Onetime Setup –firewalls –installation Sanity test IP of instances
7
What we need: Application Side App executable installed on cloud instances –Making a single cloud image and drawing instances from it is convenient Data workflow
8
What we need: Swift side Swift installed on submit host Make sure perl is installed on cloud instances
9
Steps Encode workflow in Swift
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.