Developer Days 2010 Choosing the Right Tool for the Job Up in the Cloud ® 2010 Autodesk Autodesk Confidential Information November 2010 1 Choosing the Right Tool for the Job Up in the Cloud Autodesk Confidential Information November 2010 2 Demo Autodesk Confidential Information November 2010 3 Nondisclosure Agreement Today’s discussion is covered under your ADN Agreement with Autodesk. The information we will be providing is highly confidential, and is to be shared within your company on “need to know basis” and to NO ONE outside your company. Autodesk makes no guarantees that anything presented or discussed will actually appear in the future. Autodesk Confidential Information November 2010 4 What is Cloud Computing Author; Sam Johnston, Australian Online Solutions Pty Ltd Autodesk Confidential Information November 2010 5 What is Cloud Computing Author; Sam Johnston, Australian Online Solutions Pty Ltd Autodesk Confidential Information November 2010 6 What is Cloud Computing Cloud Computing – The provisioning, hosting and management of applications completely within a separately managed infrastructure. Autodesk Confidential Information November 2010 7 Advantages of Cloud Computing Nearly zero initial investment Pay as you go Unlimited storage Comprehensive set of Stable services for: Easy access of storage Easily deploy custom services Easily launch/suspend custom services Easily scale resource usage Evolving new technologies for higher abstraction Autodesk Confidential Information November 2010 9 Popular Cloud Providers Amazon Web Services (aws.amazon.com) Windows Azure Platform www.microsoft.com/windowsazure/ Google App Engine (appengine.google.com) Autodesk Confidential Information November 2010 10 Primary Cloud Services Data Store Services Virtually infinite storage Easily accessible. Only internet required High availability and low cost of usage Compute Services Choice of computing power and OS Scale when needed Low cost of usage Relational Database Services Autodesk Confidential Information November 2010 11 Secondary Cloud Services Automatic Scaling and Load Balancing Services Messaging services with Pull and Push Notifications Virtual Private Clouds Content Distribution Autodesk Confidential Information November 2010 12 Major Cloud Service Components Custom Applications & Services Database Content Delivery Messaging Scaling and Load Balancing Virtual Private Cloud Cloud Service Management APIs, Development and Deployment Tools Compute Power Autodesk Confidential Information November 2010 Storage 13 Cloud Application Platform Spectrum Amazon Web Services Google App Engine Microsoft Windows Azure Ease of Use Medium Easy Easy Direct “Iron” Access Yes, with VM No; Virtual execution environment No; Virtual execution environment Complex Application Support Yes; Commodity hardware. Lots of flexibility provided to architect of solution No; Simple application model, and restrictive data modeling tools TBD: Tools provided by Cloud OS will determine application complexity Maturity Medium Medium Medium Internet Scale Tools & Infrastructure Amazon provides infrastructure to enable cloud environment, and tools to run in that environment No support for internet scale; everything capped MS provides infrastructure to enable cloud environment, and tools to run in that environment (simplicity focus) Post Deployment Application Management Must manage your application across servers or leverage 3rd party Managed by Google Managed by MS Language Support Any Java, Python .NET languages today, Java, PHP, Ruby to certain extent. more later OS Support Linux*, Windows Server, Solaris*,.. NA; OS Abstracted NA; OS Abstracted (Windows based) Autodesk Confidential Information November 2010 14 What will we demonstrate today Using Amazon Compute Services Using Azure Compute Services Using Azure SQL Relational Database Services Autodesk Confidential Information November 2010 16 Our Experience with Amazon Web Services Getting Started Autodesk Confidential Information November 2010 17 Primary AWS Services Storage Services: Amazon Simple Storage Service (Amazon S3) http://aws.amazon.com/s3/ Compute Services: Amazon Elastic Compute Cloud (Amazon EC2) http://aws.amazon.com/ec2/ Autodesk Confidential Information November 2010 18 Autodesk Confidential Information November 2010 19 First Steps… Go to aws.amazon.com and click on the “Sign Up Now” button and follow instructions Create a public/private key pair on the “security credentials” page Note: You have not subscribed to any Amazon cloud services yet. You have only created an account. You will not be charged for any services yet. You will only be charged when you use the cloud services. This website provides a tutorial for all the above: http://bitnami.org/tutorials/create_aws_account Autodesk Confidential Information November 2010 20 AWS Developer Resources Browse to the http://aws.amazon.com/developertools page and get a feel for different tools you might need Autodesk Confidential Information November 2010 21 AWS SDKs Download the SDK you are comfortable with from the SDK page. We downloaded and installed the .NET SDK: http://aws.amazon.com/code This site has a nice video tutorial for usage of .NET SDK: http://aws.amazon.com/articles/3051 Autodesk Confidential Information November 2010 22 Amazon Simple Storage Service Login to the AWS Console from here: https://console.aws.amazon.com/s3/home Autodesk Confidential Information November 2010 23 Logging into S3 console, first time… Click on “Sign Up for Amazon S3” button and follow instructions “Usually” get instant access to the S3 service Autodesk Confidential Information November 2010 24 Using S3 Service Begin uploading and downloading using the AWS Console and/or the API Third party tools to Manage your Amazon S3 account: http://www.flvmate.com/blog/top-8-tools-manage-your-amazon-s3account Sample attached to demo AWS .NET SDK usage for S3 Autodesk Confidential Information November 2010 25 Amazon Elastic Compute Cloud Login to the AWS Console from here (and go to the “Amazon EC2” tab): https://console.aws.amazon.com/s3/home Autodesk Confidential Information November 2010 26 Using EC2, first steps… Click on the “Sign Up For Amazon EC2” button and follow instructions Account verification usually takes about a day Autodesk Confidential Information November 2010 27 Launching a Virtual Machine “Instance” EC2 supports creating Instances of Virtual Machines (VM) with preconfigured Operating System and hardware configurations Use the documentation here to get started: http://docs.amazonwebservices.com/AWSEC2/latest/GettingStarted Guide/ Autodesk Confidential Information November 2010 28 Common EC2 Windows VM Configurations Autodesk Confidential Information November 2010 29 Connect to the instance Explore the running EC2 instance in the AWS console Use Microsoft Terminal Services to connect to your Windows EC2 Instance: http://docs.amazonwebservices.com/AWSEC2/latest/ GettingStartedGuide/ConnectToInstanceWindows.ht ml Create an Elastic IP address and associate with running VM instance: http://docs.amazonwebservices.com/AWSEC2/latest/ UserGuide/index.html?concepts-elasticaddressing.html Autodesk Confidential Information November 2010 30 Use the VM Instance Build an application for the VM instance like any other application on Windows Server We built a .NET web service using VS 2008 SP1 and deployed it on the VM: http://174.129.41.127/DevdaysApp/GTDemoService.asmx Here is an AutoCAD .NET sample to use this service Autodesk Confidential Information November 2010 31 Demo again…. Autodesk Confidential Information November 2010 32 The Amazon Bill Autodesk Confidential Information November 2010 33 Our Experience with Windows Azure Platform Getting Started Autodesk Confidential Information November 2010 34 Azure Service Categories Windows Azure: Compute Storage http://msdn.microsoft.com/en-us/windowsazure/default.aspx SQL Azure: http://msdn.microsoft.com/en-us/windowsazure/sqlazure/default.aspx Autodesk Confidential Information November 2010 35 Where Do I Start… and Finish Follow the instructions on this page: http://www.microsoft.com/windowsazure/getstarted/default.aspx Autodesk Confidential Information November 2010 36 The SDK Download from here: http://msdn.microsoft.com/en-us/windowsazure/cc974146.aspx You will need Windows 7 OS Prefer VS 2010 but will work with VS 2008 Installs project templates for creating Azure cloud applications “Publish” your Web Application from VS 2010 to the Azure cloud directly Autodesk Confidential Information November 2010 37 What did we create? A bunch of WCF based Web Services: http://adnmonitor.cloudapp.net/TaskMonitorService.svc http://adnmonitor.cloudapp.net/aecinfoservice.svc http://adnmonitor.cloudapp.net/mfginfoservice.svc A bunch of websites to use these services: http://gthelloazure.cloudapp.net/ http://gthelloazure.cloudapp.net/Summary.aspx http://gthelloazure.cloudapp.net/aecmaterialinfo.aspx http://gthelloazure.cloudapp.net/mfgmaterialinfo.aspx Autodesk Confidential Information November 2010 38 AutoCAD .NET Client Apps These apps use the azure services we created Autodesk Confidential Information November 2010 39 SQL Azure Login in to sql.azure.com Create Databases in the SQL Azure console after login Access the connection strings for the databases from the SQL Azure console Use the SQL Server Management Studio to access these: http://msdn.microsoft.com/en-us/library/ms174173(SQL.90).aspx http://www.sqlcoffee.com/Troubleshooting066.htm Use the VS 2010 Server Explorer to access SQL Azure databases Autodesk Confidential Information November 2010 40 Demo Autodesk Confidential Information November 2010 41 The Azure Bill Autodesk Confidential Information November 2010 42 Developer Days 2010 Choosing the Right Tool for the Job Up in the Cloud ® 2010 Autodesk Autodesk Confidential Information November 2010 43
© Copyright 2026 Paperzz