Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
Building a diverse geo-
architecture for Cloud
Native Applications in
one day
Ben Laplanche
Product Manager - Pivotal Clou...
Who am i?
• Ben Laplanche
• Product Manager on Pivotal
Cloud Foundry
• Based in London
• Focused on services &
partner ena...
@ben_laplanche
“Cloud is about how
computing is done, not
where”
Cloud Native
• Changing the way enterprises think about building software
• Balancing speed and agility with operational e...
@ben_laplanche
Cloud Native enablers
@ben_laplanche
Pivotal Cloud Foundry
Cloud Native applications
@ben_laplanche
But what about global
reach and resiliency?
@ben_laplanche
Diverse geo-
architecture
Credit to www.vectorworldmap.com
@ben_laplanche
What did I deploy?1. Full Pivotal Cloud Foundry
1. Runtime & container orchestration
2. Logging & metrics
3...
Network view
PrivatePublic
Pivotal OpsManager
Load Balancer
VPN Server C*
C*
C*
C*
C*
Cassandra node
WWW Router DEAs
App traffic flow
PrivatePublic
Pivotal OpsManager
Load Balancer
VPN Server C*
C*
C*
C*
C*
Cassandra node
WWW Router DEAs
VPN view
PrivatePublic
Pivotal OpsManager
Load Balancer
VPN Server C*
C*
C*
C*
C*
Cassandra node
WWW Router DEAs
Openstack...
Network view continued…
AWS Environment
Apps domain *.aws.my-pcf.com
Public subnet CIDR 10.0.0.0/24
Private subnet CIDR 10...
@ben_laplanche
In 1 day!
HOW!?!?
IaaS Setup
AWS vSphere Openstack
• Cloud Formation
scripts
• VPC
• Subnets
• Security Groups
• RDS
• S3
• ELBs
• vCenter
•...
Deploying the world
Application workflow
$cf push demo-app
• to give
• demo.aws.my-pcf.com
• demo.vsphere.my-pcf.com
• demo.openstack.my-pcf.co...
Connect to Cassandra
Connect App & Cassandra
Configuring Cassandra
On each Cluster
• Set the cluster names to all be Demo
• Seed nodes to include remote environments
• ...
Global Load Balancing
• Such as Akamai
• Global
• Geo routing
• Register cassandra.my-pcf.com and point to all
three sites
@ben_laplanche
Demonstration
Network view continued…
AWS vSphere Openstack
Apps domain *.aws.my-pcf.com
*.vsphere.my-
pcf.com
*.openstack.my-
pcf.com
P...
Network view continued…
AWS vSphere Openstack
Apps domain *.aws.my-pcf.com
*.vsphere.my-
pcf.com
*.openstack.my-
pcf.com
P...
here’s what it would have
demonstrated
• $nodetool status
• write data directly to one DC
• see it appear in another DC
• ...
@ben_laplanche
Doing this, but better
TCP Router
PrivatePublic
Pivotal OpsManager
Load Balancer
C*
C*
C*
C*
C*
Cassandra node
WWW
HTTP
Router
DEAs
TCP
Router
Arbitrary Params
Specify configuration when creating a single-tenant
instance
$cf cs p-datastax single-tenant demo -p
“{clu...
@ben_laplanche
Current World
Multi-Tenant plan
• Access to a shared 4 node
cluster on-demand
• Ability to scale vertically as you
require through OpsMa...
Single-Tenant plan
• Production ready plan
• Access to a dedicated 6 node
cluster on-demand
• Ability to scale vertically ...
@ben_laplanche
Available from
http://network.pivotal.io
Multi-Tenant plan with upgrades &
Single-Tenant production plan
av...
Any questions?
@ben_laplanche
Come visit the Pivotal
Booth
We’re Hiring!
Software Engineers
Product Managers
blaplanche@pivotal.io
@ben_laplanche
pivotal.io/careers
Prochain SlideShare
Chargement dans…5
×

Building A Diverse Geo-Architecture For Cloud Native Applications In One Day

1 735 vues

Publié le

Presenter: Ben Laplanche, Product Manager, Pivotal Cloud Foundry

Companies turn to PaaS and Cloud Native Applications to gain agility and speed. To provide customer value, a fault tolerant infrastructure is essential. But what happens if an entire data center, region, or even country should go offline? Cassandra holds the key to keeping application state in sync through replication, whilst Pivotal Cloud Foundry provides easy deployment to multiple IaaS providers. It also comes complete with a managed service offering for DataStax Enterprise. This talk will discuss how this setup can be deployed in one day, including demonstrations and a walkthrough of the key concepts, approaches, and considerations.

Publié dans : Technologie
  • Soyez le premier à commenter

Building A Diverse Geo-Architecture For Cloud Native Applications In One Day

  1. 1. Building a diverse geo- architecture for Cloud Native Applications in one day Ben Laplanche Product Manager - Pivotal Cloud Foundry
  2. 2. Who am i? • Ben Laplanche • Product Manager on Pivotal Cloud Foundry • Based in London • Focused on services & partner enablement • @ben_laplanche • blaplanche@pivotal.io
  3. 3. @ben_laplanche “Cloud is about how computing is done, not where”
  4. 4. Cloud Native • Changing the way enterprises think about building software • Balancing speed and agility with operational excellence • Move fast - consistently and reliably • Release fast and often • Create business demand and customer value • Enable high performing teams • At scale, globally This is what Cloud Native means
  5. 5. @ben_laplanche Cloud Native enablers
  6. 6. @ben_laplanche
  7. 7. Pivotal Cloud Foundry
  8. 8. Cloud Native applications
  9. 9. @ben_laplanche But what about global reach and resiliency?
  10. 10. @ben_laplanche Diverse geo- architecture
  11. 11. Credit to www.vectorworldmap.com
  12. 12. @ben_laplanche What did I deploy?1. Full Pivotal Cloud Foundry 1. Runtime & container orchestration 2. Logging & metrics 3. Health monitoring 4. Application auto scaling 2. DataStax Enterprise 1. 6 node cluster 2. DataStax OpsCenter 3. VPN Tunnel To each location
  13. 13. Network view PrivatePublic Pivotal OpsManager Load Balancer VPN Server C* C* C* C* C* Cassandra node WWW Router DEAs
  14. 14. App traffic flow PrivatePublic Pivotal OpsManager Load Balancer VPN Server C* C* C* C* C* Cassandra node WWW Router DEAs
  15. 15. VPN view PrivatePublic Pivotal OpsManager Load Balancer VPN Server C* C* C* C* C* Cassandra node WWW Router DEAs Openstack vSphere
  16. 16. Network view continued… AWS Environment Apps domain *.aws.my-pcf.com Public subnet CIDR 10.0.0.0/24 Private subnet CIDR 10.0.16.0/20 Cloud Foundry range 10.0.16.1 to 10.0.16.49 Datastax range 10.0.16.50 to 10.0.16.55
  17. 17. @ben_laplanche In 1 day! HOW!?!?
  18. 18. IaaS Setup AWS vSphere Openstack • Cloud Formation scripts • VPC • Subnets • Security Groups • RDS • S3 • ELBs • vCenter • Resource pools • Networking • Disk • DNS • Openstack Tenant • Physical hardware • Floating IPs • DNS • Permissions
  19. 19. Deploying the world
  20. 20. Application workflow $cf push demo-app • to give • demo.aws.my-pcf.com • demo.vsphere.my-pcf.com • demo.openstack.my-pcf.com • cassandra.my-pcf.com
  21. 21. Connect to Cassandra
  22. 22. Connect App & Cassandra
  23. 23. Configuring Cassandra On each Cluster • Set the cluster names to all be Demo • Seed nodes to include remote environments • on every node • Restarted clusters Caveat: I did this behind the scenes
  24. 24. Global Load Balancing • Such as Akamai • Global • Geo routing • Register cassandra.my-pcf.com and point to all three sites
  25. 25. @ben_laplanche Demonstration
  26. 26. Network view continued… AWS vSphere Openstack Apps domain *.aws.my-pcf.com *.vsphere.my- pcf.com *.openstack.my- pcf.com Public subnet CIDR 10.0.0.0/24 10.0.0.0/24 10.0.0.0/24 Private subnet CIDR 10.0.16.0/20 10.0.16.0/20 10.0.16.0/20 Cloud Foundry range 10.0.16.1 to 10.0.16.49 10.0.16.1 to 10.0.16.49 10.0.16.1 to 10.0.16.49 Datastax range 10.0.16.50 to 10.0.16.55 10.0.16.50 to 10.0.16.55 10.0.16.50 to 10.0.16.55
  27. 27. Network view continued… AWS vSphere Openstack Apps domain *.aws.my-pcf.com *.vsphere.my- pcf.com *.openstack.my- pcf.com Public subnet CIDR 10.0.0.0/24 10.0.0.0/24 10.0.0.0/24 Private subnet CIDR 10.0.16.0/20 10.0.16.0/20 10.0.16.0/20 Cloud Foundry range 10.0.16.1 to 10.0.16.49 10.0.16.1 to 10.0.16.49 10.0.16.1 to 10.0.16.49 Datastax range 10.0.16.50 to 10.0.16.55 10.0.16.50 to 10.0.16.55 10.0.16.50 to 10.0.16.55
  28. 28. here’s what it would have demonstrated • $nodetool status • write data directly to one DC • see it appear in another DC • A failed site - everything is still ok!
  29. 29. @ben_laplanche Doing this, but better
  30. 30. TCP Router PrivatePublic Pivotal OpsManager Load Balancer C* C* C* C* C* Cassandra node WWW HTTP Router DEAs TCP Router
  31. 31. Arbitrary Params Specify configuration when creating a single-tenant instance $cf cs p-datastax single-tenant demo -p “{cluster_name”: “demo”, “remote_seed”: “cassandra.aws.my-pcf.com”}
  32. 32. @ben_laplanche Current World
  33. 33. Multi-Tenant plan • Access to a shared 4 node cluster on-demand • Ability to scale vertically as you require through OpsManager • Great for development / testing • Automated upgrades between versions of Cassandra • Using DataStax Enterprise & OpsCenter • Best practice configuration
  34. 34. Single-Tenant plan • Production ready plan • Access to a dedicated 6 node cluster on-demand • Ability to scale vertically as you require through OpsManager • Automated upgrades between versions of Cassandra • Using DataStax Enterprise & OpsCenter • Best practice configuration
  35. 35. @ben_laplanche Available from http://network.pivotal.io Multi-Tenant plan with upgrades & Single-Tenant production plan available in Q4
  36. 36. Any questions?
  37. 37. @ben_laplanche Come visit the Pivotal Booth
  38. 38. We’re Hiring! Software Engineers Product Managers blaplanche@pivotal.io @ben_laplanche pivotal.io/careers

×