Entenda como as tecnologias open source funcionam no Microsoft Azure. Abordaremos cenários de IAAS, PAAS e Websites, além de cenários mais sofisticados tais como Haddop
15. Canonical UBUNTU
!
Oracle Linux
!
SUSE Linux Enterprise
- Targets enterprises!
openSUSE Linux
- Community distro!
CENTOS by Open Logic
- Binary compatible with Red Hat Enterprise Linux!
Also available with
pre-installed Puppet
Enterprise from
Puppet Labs
Microsoft provides forum-
based support for all (today)
17. Other Linux distributions
are available
Example: Debian
Images typically include
other software
Examples: Django,
Tomcat/EJB, Drupal,
WordPress, Subversion,
Jenkins, SugarCRM, …
An image’s provider can
offer paid support
Example: Bitnami
The Linux images in the
gallery provide just an OS
18. Windows
Server Linux
$0.09/hour
Small A1
(1 core, 1.75 GB) $0.06/hour
Medium A2
(2 cores, 3.5 GB)
$0.18/hour $0.12/hour
Large A3
(4 cores, 7 GB)
$0.36/hour $0.24/hour
Extra Large A4
(8 cores, 14 GB)
$0.72/hour $0.48/hour
Memory Intensive A5
(2 cores, 14 GB)
$0.33/hour $0.25/hour
Memory Intensive A6
(4 cores, 28 GB) $0.66/hour $0.50/hour
Memory Intensive A7
(8 cores, 56 GB)
$1.32/hour $1.00/hour
Linux is as much
as 1/3 cheaper
than Windows
Server
20. VMs
IIS
Open Source Web
Applications
Custom Web
Applications
Static Websites
Code
HTML
TFS,
Git
FTP,
WebDeploy
Users
Microsoft Azure
Web Sites
Base images are
Windows Server
From the Web
App Gallery
21. What It Provides Technology Foundation
WordPress
Content management
system/blogging PHP/MySQL
Joomla
Content management
system
PHP/MySQL (and others)
MediaWiki Wiki package PHP/MySQL (and others)
PythonDjango Web framework
Express JavaScript/Node.jsWeb framework
Apache Tomcat
Web server/
servlet container
Java
22. PHP
Scripting language and
environment for web
development
Python
General-purpose dynamic
programming language
Node.js
Environment for web
development with JavaScript
.NET and Java applications
are also supported
23. What is TypeScript?
A typed superset of
JavaScript that compiles
to ordinary JavaScript
Who’s creating it?
A group led by Anders
Hejlsberg at Microsoft
Why?
To help make JavaScript a more
effective language for creating
large-scale applications
https://github.com/Microsoft/TypeScript
24. Microsoft Azure Mobile Services
Built with
Node.js or .NET
Microsoft
provides SDKs
for all
User
Authentication
Notifications
Custom
JavaScript Code
REST/JSON
Data
Access
Windows Store
Apps
iOS
Apps
Windows Phone
Apps
Android
Apps
Using services from
Microsoft or Apple
Using identities from
Microsoft, Google, etc.
25.
26. Operational Data Analytical Data
Provided by
Microsoft Azure
Key/Value Store
(Tables, Redis, …)
Runs in Microsoft Azure
Virtual Machines
NoSQL
Technologies
SQL
Technologies
Big Data Analytics
(HDInsight, Hadoop)
Document Store
(MongoDB, …)
Relational Database
(SQL Database,
SQL Server, Oracle, MySQL, …)
Column Family Store
(Cassandra, HBase, …)
Relational Reporting
(SQL Server, Oracle, MySQL, …)
Graph Database
(Neo4J, …)
Relational Analytics
(SQL Server, Oracle, MySQL, …)
Runs in Microsoft Azure
Virtual Machines and is
open source
28. To handle lots of
simultaneous users
Pros: NoSQL
technologies can offer
more scalability than
relational databases
Cons: Often lose
some benefits of
relational databases,
e.g., secondary
indexes, full
transactions
To work better with
different data
formats, e.g., JSON
Pros: Avoiding
object/relational
mapping makes code
easier to write
Cons: Persistent data
designed for a single
application is harder
to share; limited BI
tools
To analyze lots of
data in parallel
Pros: Hadoop has a
large and growing
ecosystem of tools and
people
Cons: Moving lots of
on-premises data to
Microsoft Azure can take
time
To work with data in
a more flexible way
Pros: NoSQL
technologies don’t have
fixed schemas
Cons: Fixed schemas
help prevent errors; data
often isn’t normalized
Developers vs. DBAs?
29. Database
3B
Shard Shard Shard
A 1
A 2
A 3
B 1
B 2
B 3
C 1
C 2
C 3
Value (String, List, Set, Hash)
Key
NoSQL technologies are typically
deployed in Azure Linux VMs
Application
30. Example
Technologies What It Provides
Key/value stores Redis, Azure Tables
Fast access to large
amounts of simply
structured data
Example Use Case
Online shopping
cart
31. 5
Column Family Column Family
Keyspace
X
Column Family Name
Y
BX 5
Row Key
A
B
C
B
Row
Data that’s frequently accessed together
should be stored in the same column family
Column
Value
1
Column Name
2 3
2 5
4 7 8
4
Application
Columns store multiple time-
stamped versions of a value
32. Example
Technologies What It Provides
Key/value stores
Column family stores
Fast access to large
amounts of simply
structured data
Cassandra, HBase
Example Use Case
Fast access to large
amounts of more
structured data
Online shopping cart
A table storing web
pages
Redis, Azure Tables
33. Shard Shard Shard
Database
Example: MongoDB
JSON
Query
Targets a specific collection
MongoLab provides a managed database
service based on MongoDB for Microsoft Azure
Application
Collection Collection
Document
JSON
JSON
JSON
JSON
JSON
JSON
JSON
JSON
JSON
JSON
JSON
Can create indexes on
multiple keys
34. Example
Technologies What It Provides
Key/value stores
Column family stores
Document databases
Fast access to large
amounts of simply
structured data
Cassandra, HBase
MongoDB
Example Use Case
Fast access to large
amounts of more
structured data
Scalable store for JSON
documents
Online shopping cart
A table storing web
pages
Persistent store for
Node.js application
Redis, Azure Tables
36. Hadoop Distributed
File System (HDFS)
Allows storing and
accessing very large
binary files across a
cluster of commodity
servers and disk
drives
Hadoop MapReduce
Supports applications
that process large
amounts of analytical
data in parallel
Data is typically
stored in HDFS
HBase
Column family store
built on HDFS
Designed for
operational data, not
analytical data
Hive/Pig
Tools for querying,
transforming, and
analyzing data
Both generate
MapReduce jobs
Hadoop 2.0 adds YARN, supporting
frameworks other than MapReduce
37. Data Data Data
Hadoop
Distributed File
System (HDFS)
Hadoop
MapReduce
Job
LogicLogicLogic
Hive
Pig
. . .
Provides HiveQL, a SQL-
like query language Microsoft allows
submitting HiveQL
queries from Excel
Excel
38. Microsoft Azure Blobs
Data Data Data
Hadoop
MapReduce Job
HDFS API
VM VM VM
LogicLogicLogic
Hive
Pig
. . .
Excel
Using HDInsight will typically make
more sense than building your own
Hadoop cluster on Azure