Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Building a Highly Available Solution
Based on the Cloud Foundry PaaS
By Sergey Sverchkov,
Software Architect at Altoros
se...
What We Are Going to Discuss
❏ Project requirements (from the business point of view)
❏ Selecting the technology stack
❏ T...
❏ A solution for management of devices
❏ Delivered as Software-as-a-Service
❏ Built as a private cloud
❏ Distributed betwe...
❏ Amazon Web Services (AWS)—the platform for prototyping
❏ Cassandra—the main data storage
❏ MariaDB Galera Cluster—the cl...
❏ A cloud in 2 AWS regions with data synchronization enabled
❏ A secure channel between the regions
❏ Web socket for devic...
❏ 2 virtual private clouds
❏ An IPSEC VPN tunnel
❏ Route 53 DNS with failover or a latency policy
❏ Elastic Load Balancer
...
Hosting Models
❏ Supports deployment of Java, Ruby, Node.js, etc.
❏ Linux-like containers for application isolation
❏ Automated deploymen...
What We Get from Cloud Foundry
❏ Application management from a console
❏ Health monitoring and scaling
❏ Application load ...
www.altoros.com | @altoros
Source: openstack.org
OpenStack Services
❏ Server chassis: SuperMicro 5037 with 8 nodes
❏ Xeon E3-1230, 32 GB of RAM, 2*3.5” SATA3
❏ 3 nodes for OpenStack manageme...
OpenStack Nodes:
СN#1–2: OpenStack Controller
CMP#1–5: OpenStack Compute
Solution Deployment View on OpenStack
CF Components:
1. DEA—droplet execution agent
2. API—cloud controller
3. NATS—message bus
4. UAA—user authentication
www.a...
DC1—Datacenter #1
DC2—Datacenter #2
www.altoros.com | @altoros
OpenStack + Cloud Foundry in 2 Regions
❏ A complex system requires complex approaches
❏ Verify if the technology stack meets your project requirements
❏ High ava...
Buenos
Aires
Oslo
London
Zurich
Sunnyvale, CA
Copenhagen
Minsk
Santa Fe
Boston
30%Female
70%Male
+5
Join us on an
average ...
WHAT WE DO
We bring “software assembly lines” into organizations through
deployment and integration of solutions offered b...
Questions?
Sergey Sverchkov
sergey.sverchkov@altoros.com
www.altoros.com
www.twitter.com/altoros
+1 (650) 265-2266
enginee...
Upcoming SlideShare
Loading in …5
×

«Практика построения высокодоступного решения на базе Cloud Foundry Paas»

1,297 views

Published on

Сергей Сверчков (Solution Architect в Altoros)

Доклад: «Практика построения высокодоступного решения на базе Cloud Foundry PaaS ».

О чём: В докладе Сергей продемонстрирует архитектуру решения, базирующуюся на OpenStack, Cassandra и Cloud Foundry (PaaS), расскажет об интересных особенностях Cloud Foundry. Он также опишет опыт в области обработки данных с медицинских приборов, опыт разработки решения с высокими требованиями по доступности, безопасности в этой области. В своей презентации Сергей раскроет нюансы работы над различными уровнями решения и их интеграцией.

Published in: Technology
  • Be the first to comment

«Практика построения высокодоступного решения на базе Cloud Foundry Paas»

  1. 1. Building a Highly Available Solution Based on the Cloud Foundry PaaS By Sergey Sverchkov, Software Architect at Altoros sergey.sverchkov@altoros.com www.altoros.com | @altoros
  2. 2. What We Are Going to Discuss ❏ Project requirements (from the business point of view) ❏ Selecting the technology stack ❏ The pilot project on Amazon Web Services (AWS) ❏ The private cloud solution based on OpenStack ❏ Adding the Cloud Foundry (CF) Platform-as-a-Service (PaaS) ❏ Building a distributed system with high availability (HA) www.altoros.com | @altoros
  3. 3. ❏ A solution for management of devices ❏ Delivered as Software-as-a-Service ❏ Built as a private cloud ❏ Distributed between several regions ❏ Scalability to millions of devices ❏ Based on open source components www.altoros.com | @altoros Project Requirements from the Business Point of View
  4. 4. ❏ Amazon Web Services (AWS)—the platform for prototyping ❏ Cassandra—the main data storage ❏ MariaDB Galera Cluster—the clustered SQL database ❏ Cloud Foundry (СF)—Platform-as-a-Service ❏ OpenStack—the platform for bulding the private cloud www.altoros.com | @altoros Selecting the Technology Stack
  5. 5. ❏ A cloud in 2 AWS regions with data synchronization enabled ❏ A secure channel between the regions ❏ Web socket for device communication ❏ Scalable up to 150,000 devices ❏ Device data packet size ~1–2 KB ❏ Every device sends several data packets every minute www.altoros.com | @altoros The Pilot Project on AWS: Requirements
  6. 6. ❏ 2 virtual private clouds ❏ An IPSEC VPN tunnel ❏ Route 53 DNS with failover or a latency policy ❏ Elastic Load Balancer ❏ A full replica in Cassandra and MariaDB ❏ Device emulation for workload The Pilot Project on AWS: Implementation
  7. 7. Hosting Models
  8. 8. ❏ Supports deployment of Java, Ruby, Node.js, etc. ❏ Linux-like containers for application isolation ❏ Automated deployment of runtime environments (JRE, Tomcat, etc.) ❏ Organizations, users, spaces, and resource limits ❏ Supported on AWS, OpenStack, and VMWare www.altoros.com | @altoros Cloud Foundry: The Application Platform (PaaS)
  9. 9. What We Get from Cloud Foundry ❏ Application management from a console ❏ Health monitoring and scaling ❏ Application load balancing and routing ❏ HTTP, HTTPS, and WebSocket ❏ Databases as external services ❏ Think about development not deployment www.altoros.com | @altoros
  10. 10. www.altoros.com | @altoros Source: openstack.org OpenStack Services
  11. 11. ❏ Server chassis: SuperMicro 5037 with 8 nodes ❏ Xeon E3-1230, 32 GB of RAM, 2*3.5” SATA3 ❏ 3 nodes for OpenStack management ❏ 5 nodes for OpenStack virtual machines ❏ 20 CPU cores, 160 GB of RAM, 10 TB of storage www.altoros.com | @altoros Hardware Configuration for OpenStack with High Availability
  12. 12. OpenStack Nodes: СN#1–2: OpenStack Controller CMP#1–5: OpenStack Compute Solution Deployment View on OpenStack
  13. 13. CF Components: 1. DEA—droplet execution agent 2. API—cloud controller 3. NATS—message bus 4. UAA—user authentication www.altoros.com | @altoros OpenStack + Cloud Foundry in HA Mode
  14. 14. DC1—Datacenter #1 DC2—Datacenter #2 www.altoros.com | @altoros OpenStack + Cloud Foundry in 2 Regions
  15. 15. ❏ A complex system requires complex approaches ❏ Verify if the technology stack meets your project requirements ❏ High availabilty needs to be supported on all layers/components ❏ Open source is free but you take all the risks on your own ❏ Demonstrate business value on every phase www.altoros.com | @altoros Lessons Learned
  16. 16. Buenos Aires Oslo London Zurich Sunnyvale, CA Copenhagen Minsk Santa Fe Boston 30%Female 70%Male +5 Join us on an average month Full Time Enablers DevOps Software Engineers 250+ FACTS ON ALTOROS
  17. 17. WHAT WE DO We bring “software assembly lines” into organizations through deployment and integration of solutions offered by the Cloud Foundry ecosystem Managed ServicesConsulting Integration Delivered by Altoros Delivered by partners from CF Ecosystem Training
  18. 18. Questions? Sergey Sverchkov sergey.sverchkov@altoros.com www.altoros.com www.twitter.com/altoros +1 (650) 265-2266 engineering@altoros.com

×