openstack and cloud foundry for cloud native apps
TRANSCRIPT
AWS, Microsoft, Google… OpenStack
Cloud Foundry
Runtime (stateless)
Services(stateful)
x 10 if it needs to be on-prem
Can be used for production
Still maturing, best suited for dev/test
Others: Sahara, Mistral, Murano, GSLB, and more
1. Service broker
2. User provided service
3. Standalone/hard coded
OpenStack project name: Designate
Purpose: operator grade DNS server management w/ 3rd party integrations (for
nameservers)
Use cases: alias CF clusters, alias DBs & LBs, self-service DNS
http://designate.readthedocs.org/en/latest/
OpenStack project name: Octavia
Purpose: operator grade software-only load balancing service
Use cases: use behind DNS and in front of CF routers, DBs, etc
http://docs.octavia.io/
OpenStack project name: Cue, also see Zaqar
Purpose: low touch lifecycle management of brokers incl. RabbitMQ and Kafka
Use cases: managed broker for CF apps
http://cue.readthedocs.org/
OpenStack project name: Trove
Purpose: low touch lifecycle management of databases including MySQL, MongoDB, Redis,
and Vertica
Use cases: managed databases for CF apps
http://cue.readthedocs.org/
DNS
(Designate)
Load Balancer A
(Octavia)
Load Balancer B
(Octavia)
See new GSLB project as an alternative for global load balancing
CF router CF router
CF runtime…
CF router CF router
CF runtime…
Region A Region B
Message broker
(Cue)
Message broker
(Cue)
Database cluster
(Trove)
Database cluster
(Trove)
AZ 1 AZ 2 AZ 3 AZ 1 AZ 2 AZ 3
Cloud Foundry Windows
SupportCluster Components:
• Windows Server 2012 R2
• Process and Resource Isolation using Windows Prison
• Build pack for IIS8/.NET
• Supports CLR v2 to 4.5.2
• Applications: IIS, ASP.NET, WCF, Web API
• Frameworks: MVC2, 3, 4, 5, …, SignalR, …
Windows DEA (CF v2)
• GO
• Supported Microsoft SQL Server versions & flavors
• Microsoft SQL Server 2012 SP1 Express or full product
• Microsoft SQL Server 2014 Express or full product
• Windows Server 2012 R2 Core or better
• By default runs on Windows MSSQL node, but can run anywhere
Cloud Foundry Microsoft SQL Server Service Broker
Developer Stack:
• --stack win2012r2 (--mem 512 >)
Standard Helion CLI
•Programmatic access to CF
•Full object v2 model coverage
•Supporting: UAA, AOK, Loggregator and Logyard
Cloud Foundry .NET SDK
•Deploy (publish), Start/Stop/Restart, Delete apps from
MSBuild
Cloud Foundry MS Build Tasks
•Supports all SKUs of 2013 & 2015
•Explore Cloud Foundry cluster and manipulate from within
Visual Studio
•Deploy application from within Visual Studio
Cloud Foundry Explorer for Visual Studio
Deployment Options
1. Visual Studio deployment
• Local or server side build
• Using publish profile or MSBuild tasks directly from within your project file
2. “cf push” .NET applications from Mac, Linux or Windows
• Server side build
3. MSBuild Deployments
• Local or server side build
• Using publish profile or MSBuild tasks directly from within your project file
Overview
Architecture
All .NET contribs upstream
https://github.com/cloudfoundry-incubator