IAC 2024 - IA Fast Track to Search Focused AI Solutions
Taking it to the cloud version 3
1.
2. Taking it to the Cloud withWindows Azure Cory Fowler Intermediate Web Developer cory@syntaxc4.net http://blog.syntaxc4.net Twitter: @SyntaxC4 LinkedIn:CoryFowler http://gettag.mobi
3. What is Cloud Computing ? “Cloud computing describes a new supplement, consumption and delivery model for IT services based on the Internet, and it typically involves the provision of dynamically scalable and often virtualized resources as a service over the Internet” -- Wikipedia
4. Why is it so great? Agility Cost Sustainability Scalability Centralization Reliability Maintenance Security
5. What is Windows Azure? PowershellCommandlets Sync Windows Azure Drive Queue Storage Windows Identity Foundation Microsoft Pinpoint Azure Management API Blob Storage AppFabric Enterprise Service Bus Dallas Interoperability Storage Services Table Storage Access Control Service SQL Azure Open Data Protocol
18. Set up a Database for Storage Service Emulator
19. Configure the Database for Storage ServicesPlatform Installer – Does Everything for You!Preparing your environment
20. Preparing your environment (Con’t) Turn On/Off Windows Features Enabling WCF Activation Enabling ASP.NET & CGI Internet Information Services World Wide Web Services Application Development ASP.NET CGI Microsoft .NET Framework WCF HTTP Activation WCF Non-HTTP Activation
28. How Do I Get Started? Tools Visual Studio Web Express - tinyurl.com/GetVSExpress Windows Azure Tools - tinyurl.com/GetAzureTools Knowledge My Blog – tinyurl.com/GetStartedWithAzure Account Windows Azure Offers - tinyurl.com/AzureOffers Website Spark – http://tinyurl.com/WebSpark
29. Azure Information http://www.microsoft.com/windowsazure http://windows.azure.com http://www.delicious.com/syntaxc4 http://blog.syntaxc4.net API http://tinyurl.com/AzureManagedLibrary http://tinyurl.com/AzureOSSAPIs Resources
30.
31. JustCodeLicenses (make sure you run updates) www.facebook.com/Telerik http://twitter.com/telerik Follow us at:
Notas do Editor
Agility – Rapid and Inexpensive re-provisioning of Infrastructure Resources.Reliability – Improves through Redundancy among instances of servers in the cloud.Sustainability – improved resource utilization, more efficient Systems, and Carbon Neutrality.Security – Always Controversial, gained by Security Focused Resources, and possibly by Data centralization. But Sensitive data is now out of your control, and sitting in the cloud.Scalability – Near real-time, on-demand provisioning of resources on a self-serving basis during peak hours of use.Maintenance – Cloud Applications are easier to maintain and support. There is no need for each user to install the application on their own machine, and improvements to the system reach the client instantly.Centralization – All of your data, and applications can run from the cloud allowing them to be accessible where ever they are needed.Cost – Cost is based on actual usage, not operating hours. Costs are also shared with many users as Servers are Virtualized in Server Farm boxes.
App Fabric- Windows Server AppFabric provides caching capabilities, as well as workflow and service hosting capabilitiesDallas - An Open Data Platform that uses the Odata Protocol - Dallas APIs allow developers and information workers to consume this premium content with virtually any platform, application or business workflow. - Discover and license valuable data to improve existing applications or reports - Consumable via REST Based API (Odata)WIF – Is meant to Abstract Security from your application to allow for greater flexibility - If you’re already running a Windows Environment, WIF allows for Active directory or Windows Cardspace IntegrationMicrosoft Pinpoint – A listing service that allows Consumers find services that fill their needs. - Which gives ISVs or Developers a centralized that consumers will focus on.Storage Services - Tables Appeal to the NoSQL Crowd, You can persist data in the cloud without a database - Queues Allow the developer to move data away from their UI for further processing on another thread (thread is rather loose term, it’s Worker Role). - Blobs Allows you to store files to the cloud for use or distribution from your applicationManagement API - REST Based Management API allows you to Programmatically Manage your Resources in the cloud. - You can also use it to Query the Resources to Monitor your Instances running in the cloud.
Familiar Development Environment ASP.NET Web Project VB.NET C# Minimal Learning Curve Interoperable with Common Web Languages Infrastructure Ease No Configuration No Updates to Run No Confusing Load Balancing work On Demand Scalability Reliability Redundancy Auto-Failover RecoveryCost Benefits Reduce Utility Bills – Put away the Generators Licenses & Hardware costs minimized
Compute Sizes: Transactional Costs [N. America] SQL AzureSmall 0.12/hr$0.15 / GB Outgoing Data Transfer 1 GB – 9.99Medium 0.24/hr$0.10 / GB Incoming Data Transfer 10 GB – 99.99Large 0.48/hr 50 GB – In Beta, No PricingX-Large 0.96/hrCompute Instance Size CPU Memory Instance Storage I/O Performance Small 1.6 GHz 1.75 GB 225 GB Moderate Medium 2 x 1.6 GHz 3.5 GB 490 GB High Large 4 x 1.6 GHz 7 GB 1,000 GB High Extra large 8 x 1.6 GHz 14 GB 2,040 GB High AppFabricAccess Control: $1.99 per 100k transactions Service Bus: $3.99 per connection on a “pay-as-you-go” basis, or: Pack of 5 connections $9.95 Pack of 25 connections $49.75 Pack of 100 connections $199.00 Pack of 500 connections $995.00
Story TimeGuelph Coffee & Code – Azure Technology Focus GroupCTP Account8 Other DevelopersTook me 8 Hours to DeployRan into Storage Account IssueEarly Adoption – Lack of Blog Posts
cd "C:Program FilesWindows Azure SDKv1.0indevstore“DSInit.exe /sqlinstance:<YourDatabaseName>/forceCreateIf it errors out remove the ./ that is in front of the instance name
Azure Works on the Concept of Roles Web Role Exposes 1 HTTP End-point & 1 HTTPS End-Point Web Application Server Configured for ASP.NET Can Deploy PHP, Ruby, Java or Python Worker RoleMay Expose many Endpoints using HTTP, HTTPS, TCPEach Endpoint must be exposed on a unique portBackground Processing or Generalized Development
Blob StorageTypesPage [Max Size: 1TB]Random Access Read/WriteBlock[Max Size: 200GB]Optimized for StreamingContainers Keep Logical Separation between File Groups.Queue StorageGreat for Task SchedulingString Based Messages [Max Size: 8MB]Table StorageEntity Storage SystemPartitionKey + RowKey = Unique Entity KeyNot Relational, Relationships need to be managed in Code.1000 Entities can be returned at a time, a token is granted to pick up where you left off
PowershellAdd-PSSnapInAzureManagementToolsSnapInGET-Command -PSSnapInAzureManagementToolsSnapInPre – ReqsUpload an API CertificateCan Create in IIS7 – Self-Signed CertificateSave Certificate in .cer formatUpload to Windows Azure in Account SettingsSubscriptionID: 88488948-29f4-493d-8522-8bff4982fbf5