Download UT HackMISA - AnilDesai.net

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Concurrency control wikipedia , lookup

Relational model wikipedia , lookup

SQL wikipedia , lookup

Database model wikipedia , lookup

Microsoft Access wikipedia , lookup

PL/SQL wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Clusterpoint wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Object-relational impedance mismatch wikipedia , lookup

Transcript
UT HackMISA:
Azure Cloud Services
Anil Desai (April 2nd, 2017)
http://AnilDesai.net | [email protected]
Speaker Info: Anil Desai
• Anil Desai
•
•
•
•
Independent IT consultant and writer (Austin, TX)
Author of over 20 IT books and many articles/presentations
Microsoft MVP (13 years) – currently Cloud and Datacenter Management
Contact Info: http://AnilDesai.net or [email protected]
Introduction and Overview
Cloud Services
Architecture
• Cloud Services Overview
• Getting the most value out of cloud
services
Managing Cloud
Services
• Monitoring usage in the Azure Portal
• Cloud Service Best Practices
Cloud Demos:
• Creating and deploying a SQL Server
database to Azure
• Creating and deploying a simple web
application to Azure
Microsoft Overview
• Software and Services
•
•
•
•
To provide the best solutions on any platform
Example: Office 365
Desktop, mobile and web versions of applications
Multi-Platform Support: Windows, iOS, Android, etc.
• Cloud computing
• Software, Platform, Infrastructure
• Data Analysis, AI, ML, Reporting, etc.
• Dozens of additional services
• Open Source Approach
• Move from CodePlex to GitHub
Microsoft: Open Source
• https://opensource.microsoft.com/
Example: Office 2016 & Office 365
Office 2016
Office 365
• One-time purchase
(retail or online)
• Can be cheaper
over the longterm, but low
update frequency
• Subscription-based
and updated
frequently
• Allows multiple
installations;
cloud-based
delivery and
management
• Many services:
• Skype
• Exchange Server
• OneDrive
Office Platforms
• Desktop: Windows
and MacOS
• Mobile: Android,
iOS, Windows
Phone
• Documents are
compatible across
all platforms
• For more information: Compare Office Products and Prices (Microsoft)
Office Web Apps
• Subset of the
most-used
functionality
• Free for use online
• Supports all major
browsers and
platforms
Cloud Architecture Approaches
Software as a Service
(SaaS)
Platform as a Service
(PaaS)
Infrastructure as a
Service
Combination
Lowest costs and least
management overhead
Medium-level of management
overhead
Highest management overhead,
including patching, configuration,
security, and monitoring
Partial migration of applications
and services
Standardized deployments
Medium control of configuration
Broadest support
Split applications into multiple
services
Simplified scalability and georedundancy
Simplified scalability
Licensing flexibility
Example: New development in
SaaS and PaaS, current apps via
IaaS
Ideal for loosely-coupled
applications and services
Hybrid cloud (datacenter
extension)
Can “Lift and Shift” a datacenter
Example: App Server (PaaS) and
Full Database (IaaS)
Cloud Workloads: Examples
Software as a Service (SaaS)
Messaging and Conferencing
Office 365
Internal web apps and services (looselycoupled)
Platform as a Service (PaaS)
Web sites
Azure SQL and Data
Warehousing
Storage (file shares, BLOBs,
etc.)
Active Directory Domain
Services
Infrastructure as a Service
Full control of apps/platforms
(for example, SQL Server
Enterprise Ed.)
Full control of Active Directory
Domains
Migrate complex, existing
physical or virtual
configurations
Licensing, Encryption and
advanced configuration
Software-As-a-Service (SaaS)
• Benefits
• Least management overhead
• Most cost-efficient and easiest to setup
• Most (all?) on overhead is managed by the cloud provider
• Limitations
• Focus on configuration vs. customization
• Migration of existing apps and services
• Custom requirements: Security, Business Logic, etc.
• Examples
• Office 365
Platform-as-a-Service
• Benefits
• Provides the most commonly-used functionality in the simplest way
• Cloud provider manages the majority of the “stack”
• Limitations
• Custom application or service requirements
• Older applications usually require at least some migration work
• Platform-specific limitations
• Examples
• Azure Web Apps
• SQL Azure
IaaS (Virtual Machines)
• Developers/Admins have complete control over the entire
platform
Virtual Hardware
Config
Business and
Technical
Requirements
Operating System
• CPU
• Memory
• Storage
• Network
• Applications and Services
• High-availability and Geo-replication
• Scalability
• Proprietary apps and services
• Windows
• Linux
• Containers (Docker, Windows)
• Others / Custom
Architectural Recommendations
• Move “higher” in the stack
whenever you can, and lower
in the stack whenever you
must
• Examples:
• Creating a new mobile app
• Migrating an existing app or
service
• Migrating a data center
Software-as-aService (SaaS)
• Most efficient,
scalable, and
simple
development
• Least “control”
and more
limitations
• Great for
dev/test (and
Hackathons!)
Platform-as-aService (PaaS)
• Standardized
applications
and services
with greater
control
• Possible
feature
limitations
• Balance of cost
vs. control
Infrastructure-asa-Service (IaaS)
• Full control
• Full
responsibility
• Broadest
support
• Most costly
Demo: Deploying a SQL azure Database
Database Creation
Creating a local SQL
Server Database
Configuration
Creating a SQL Azure
instance and database
Viewing SQL Azure
settings
Publishing
Publishing the database
to SQL Azure
Monitoring & Testing
Using the Azure Portal to
manage database usage
Connecting a web
application to the
database (if time permits)
Deploying a Web Application
Create a new
ASP.NET
Solution
Create a new
Web Form
Add a
DataGridView
for Viewing and
Editing Data
Connect the
Web App to a
database
Test the Web
App for CRUD
operations
Visual Studio Team Services (VSTS)
• Source Control
• Sharing source code (VSTS)
• Works with Git (GitHub) and Team Foundation Services (TFS)
• Workboards
• Create tasks
• Document bugs, defects, etc.
• Assign Tasks
Design Tools
• UI Design
• Visual Studio 2017
• Mobile, Web, Desktop Apps
• Multi-platform development: Xamarin Forms; Games, etc.
• Other tools and SDKs:
• Augmented Reality (AR) – HoloLens
• Virtual Reality (VR)
• PowerPoint Storyboarding
• Database Design
• SQL Server Management Studio (SSMS): Database Diagrams
Azure Advisor
Additional Best Practices
Application
Design
Define the
problem or
solution you’re
trying to solve
Perform early and
rapid prototyping
Plan functionality
based on enduser or customer
requirements
Iterate on
development
functionality in
manageable units
Business
Logic
Design
Involve people
who actually “do
the work”
Map technical
solutions to real
problems
Focus on clear
deliverables and
document
limitations and
workarounds
Provide a clear
map of planned
future
functionality
Database
Design
OLTP vs.
Reporting
requirements
(normalization)
Create a schema
for reporting
Implement usermanageable
reporting tools
For More Information
• Microsoft Documentation
• Azure.Microsoft.com: Free trials, service overviews, documentation, code
samples
• Azure Portal: portal.azure.com
• Visual Studio: https://www.visualstudio.com/ (free and paid dev tools)
• Microsoft Developer Network (MSDN): https://msdn.microsoft.com/
• docs.Microsoft.com
• Microsoft Technical Case Studies: https://microsoft.github.io/techcasestudies/
• Azure QuickStarts: https://azure.microsoft.com/en-us/resources/templates/
• Microsoft Open Source
• https://opensource.microsoft.com
• Code samples and free software; Anyone can create branches
• Microsoft on GitHub: https://github.com/microsoft/
• Example: WinJS: http://www.buildwinjs.com/
Microsoft Resources
• Microsoft Technology
• Visual Studio: www.visualstudio.com
• Visual Studio Code
• Visual Studio Community Ed.
• Visual Studio Professional, Enterprise, etc.
• Microsoft Azure Storage Explorer: Available for Windows, Linux, and MacOS
• SQL Server Management Studio (SSMS)
• Microsoft Office 365
Conclusion and Q & A
Microsoft Azure provides many services for developing, deploying,
and managing cloud-based applications
OneNote Examples: Collaboration
• Example of a Simple Shared Notebook
• Notebook: Austin Editors Guild
• Folder: March, 2017 Meeting
• Page: Content Management Example
• Included Elements
• Tables (auto-created)
• Excel Spreadsheet (embedded and
editable)
• Sections for Process Steps
• Multiple Editors
• Tips:
• Can add audio, video, screenshots, etc.
• Use note-taking software for “context”
(anything that isn’t content)
• Reference: OneNote.com (web-based
examples)
Anil Desai: Tech for Editors
22
Additional Office 365 Apps
Content
Creation
Word
Content
Delivery
Organizational
Features
Enterprise
Features
Azure
PowerPoint
Outlook with Exchange
Server
Dynamics 365
SharePoint
Planner
OneNote
Excel
Sway
Delve
OneDrive
Newsfeed
Bookings
PowerApps
People
Admin, Security &
Compliance
PowerBI
Outlook
Stream
Calendar
Yammer
23
Efficiency and
“Datacenter in a
Box”
• Power Usage
Effectiveness (PUE)
• Power Utilization of the
entire datacenter vs.
power of IT gear
• Physical facility and
security
• Power (and backup)
• Cooling
• Connectivity
• Redundancy
• Lower numbers are better
(more efficient)
•
Image from
http://www.nextplatform.com/2016/09/26/rare-tourmicrosofts-hyperscale-datacenters/
Storage Management
(Azure Portal)
• Monitor storage utilization
• Provide data usage statistics
• Generate / regenerate
access keys
• Add, modify and delete file
contents
• Can create separate storage
accounts for different
scenarios (Dev vs. Test vs.
Production)
Azure Cost Monitoring