Windows azure (by me)


Published on

Hindustan institute of technology

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Windows azure (by me)

  1. 1. Windows Azure Tour<br />
  2. 2. How did cloud computing evolve at first ?<br />
  3. 3. Types<br />Public – Available On self Service Basis<br />Hybrid – Many into one<br />Private – For Proprietary software's <br />
  4. 4. Problems which lead to the innovation <br />Piracy<br />Software Cost<br />Hardware Cost<br />Man Power<br />Security Issues<br />Support for different Hardwares<br />
  5. 5. Who are the Major players involved in developing a cloud OS ?<br />
  6. 6. Agenda<br />What is Windows Azure?<br />Develop Your Application<br />Deploy To Staging and Production <br />Some Stuff To Think About<br />
  7. 7. The Azure Platform<br />
  8. 8. The Azure Platform<br />
  9. 9. The “cloud” in Cloud Services?<br />Think data-center somewhere on the internet<br />Allows you to run your app<br />Allows you to read and write data<br />
  10. 10. Why Azure? <br />“I’ve got my awesome data-center so…”<br />No more worrying about…<br />Buying, configuring, maintaining hardware<br />Buying, configuring, maintaining the operating system <br />Network infrastructure<br />Routers, Switches, Load Balancers<br />Your data-center’s power and internet connections<br />Failovers<br />Worry less about…<br />App deployment<br />Capacity planning<br />Focus on writing your app<br />
  11. 11. Have a look at Data Center of Azure at the initial stage of the project <br />
  12. 12. Simple Scale Out<br />Changes in traffic<br />Need more servers?<br />Need fewer servers?<br />
  13. 13. Azure: The Developer View<br />Write it in Visual Studio<br />New project types<br />Debug your code<br />.NET, ASP.NET, WCF, IIS7, LINQ<br />Azure Storage<br />Database in the cloud<br />(with a few caveats)<br />Desktop development versions of<br />Azure Fabric<br />Azure Storage<br />
  14. 14. Debugging In The Cloud<br />We can debug a service in Visual Studio<br />How do you debug a service that has been deployed?<br />Answer: you don’t<br />Logging is the answer<br />RoleManager.WriteToLog(eventLogName, message)<br />Event log name values: Error, Information, Warning, Debug, Critical<br />
  15. 15. Azure Storage<br />
  16. 16. Azure Storage<br />Simple database in the cloud<br />Tables<br />“structured storage”<br />Blobs<br />Queues<br />You don’t worry about replication<br />Scales like nobody’s business<br />Development version<br />DevelopmentStorage.exe<br />Uses SQL Server Express<br />
  17. 17. Table Storage<br />Every row has RowKey & Partition Key<br />RowKey = primary key<br />PartitionKey<br />Helps you tell Azure how to scale your data<br />You have to think about how you’ll be querying<br />By State? By Hour? Other?<br />
  18. 18. PartitionKey<br />Your partitions could be on different servers<br />Best practice: If you know your PartitionKey, add it to the WHERE clause<br />No PartitionKey in the WHERE  insane table scans<br />Recommendation: More partitions is (probably) better<br />Think hard about your partition key in the beginning<br />Else, roll your own re-partitioning<br />
  19. 19. Column Data Types<br />Partition key and Row key<br />String (up to 64KB)<br />Other properties<br />String (up to 64KB)<br />Binary (up to 64KB)<br />Bool<br />DateTime<br />GUID<br />Int<br />Int64<br />Double<br />
  20. 20. More Than Just ASPX<br />
  21. 21. Utility Compute without a UI<br />Azure uses the concept of “Roles”<br />There are two types of roles:<br />Web role<br />Worker role<br />
  22. 22. Web & Worker<br />
  23. 23. Worker Role and a Queue<br />In a web role, create an ASP.NET page<br />Creates a queue<br />Writes to a queue<br />Gets queue depth<br />Worker Role<br />Reads the queue<br />“Processes” the message<br />
  24. 24. How will the interface look like ?<br />
  25. 25. Deployment<br />
  26. 26. Deploy To The Cloud<br />Change the storage config to use production servers<br />
  27. 27. Miscellaneous<br />
  28. 28. Things to think about<br />No foreign keys<br />No triggers<br />No stored procedures<br />In Table storage, strings can only be 64k<br />You’ll need to use a mix of Blob and Tables<br />Think hard about what config values you put in web.config/app.config vs ServiceConfiguration.cscfg<br />
  29. 29. SaaS – Software as Service<br />Take a look at this !<br />
  30. 30. Final year projects<br />Current market ?<br />Landing a job in Microsoft ?<br />Where to find the learning resources ?<br />
  31. 31. Thank You<br />Gopinathan.Rm<br />Find me @<br /><br /><br /><br /><br /><br />
  32. 32. Queries<br />