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.

47

Share

Download to read offline

Fundamentals On Building A Reliable Cloud Infrastructure For Your SaaS Business

Download to read offline

When building a (global) SaaS application chances are high that you’re building it in the cloud. The cloud has a lot of advantages – think of scalability – in contrast to local server environments. Therefore this post, and the ones which will follow, focus on software which is built and engineered in the cloud. Here’s how to secure a cloud-based SaaS architecture.

More and more SaaS businesses are taking off the ground today. And it’s great. The SaaS business is a super-fast growing industry attracting more and more people and companies.

These organizations are more and more floating applications in the cloud. Scaling in the cloud has some essential benefits and risks as well. Starting with this blog post we are going to show you how to start building a cloud-based SaaS architecture, dealing with issues of scalability and what this means for your software stack.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Fundamentals On Building A Reliable Cloud Infrastructure For Your SaaS Business

  1. 1. @tompeham I @usersnap FUNDAMENTALS ON BUILDING A RELIABLE CLOUD-BASED SAAS ARCHITECTURE
  2. 2. THIS IS ME! @TOMPEHAM I @USERSNAP
  3. 3. @TOMPEHAM I @USERSNAP Say hi! THIS IS ME!
  4. 4. BEFORE WE GET STARTED… You can find all resources here: http://goo.gl/Ki3ZEl
  5. 5. FUNDAMENTALS ON BUILDING A HERE ARE THE A RELIABLE CLOUD-BASED SAAS ARCHITECTURE
  6. 6. Everything in the cloud When building a (global) SaaS application chances are high that you’re building it in the cloud. The cloud has a lot of advantages – think of scalability – in contrast to local server environments. Here’s how to secure a cloud-based SaaS architecture.
  7. 7. How to get started? WHICH LANGUAGE? WHICH DATABASE? WHICH SOFTWARE?
  8. 8. Which programming language? Building a product for the cloud, means building a product with a modern programming languages. There are various (modern) programming languages out there making it a hard time to choose the right one. Take a look at the most prominent ones, play around with those and try to experiment as much as possible.
  9. 9. The perfect database Document databases get their type information from the data itself. Therefore every instance of data can be different from any other. This makes it more flexible in dealing with change and optional values, maps more easily into program objects, and often reduces database size. WHY? We recommend making use of a document-oriented database.
  10. 10. MongoDB – the database for your web app? We – at Usersnap – ended using MongoDB as our prior database. Why we choose MongoDB? Because MongoDB is a document oriented database that provides high performance, high availability, and easy scalability. Why MongoDB?
 Scaling your tech with MongoDB is pretty easy (ok, at least easier compared to other databases). With automatic sharding you can distribute data across various machines.
  11. 11. MongoDB – the database for your web app? Sharding is basically a method for storing your data across multiple machines. And MongoDB uses sharding to support deployment with large data sets.
  12. 12. Queuing system Let’s talk about a queuing system now. A message queuing system is an asynchronous communication protocol, enabling sender and receiver of a message not interacting at the same time. Message queuing technology enables web apps to run at different times and to communicate with various 3rd party integrations / APIs / and other other services asynchronously.
  13. 13. RambitMQ (the system we use) Python with the open source celery task management library is the perfect fit to get the most out of RabbitMQ. We’re using a single RabbitMQ server, with multiple endpoints that feed the queue with tasks as well as endpoints that process those tasks (e.g. produce our nice-looking screenshots). How we installed RabbitMQ Again, I’d like to give you some insights on the queuing system we use, RabbitMQ. We run our web app in on the AWS EC2 where RabbitMQ can be run installed and run super smoothly.
  14. 14. AWS & EC2 Building a scalable web app you’ll probably end up at using Amazon Web Services sooner or later. Our guess is sooner ;) AWS enables you to host and run your web apps as well as performing massive high- performing batch jobs. With Elastic Compute Cloud (EC2) AWS provides scalable virtual servers for every business.
  15. 15. Why EC2? The Amazon EC2 is a must-have for and the heart of our system which provides resizable computing capacity. We basically have rented virtual servers on which our web app runs. Currently we have three EC2 servers which are located in the US, Ireland and Singapore. We’ll keep adding further locations (especially in the US and Europe) since the demand of our product keeps increasing. With the EC2 installed it’s super easy to keep adding new servers and resources.
  16. 16. Web Storage S3 Getting more and more users on board for your product will make you easily wonder about your web storage. With the Amazon S3 storage service we have a great, and highly- scalable object storage installed. Amazon Simple Storage Service (S3) is easy to use, store and retrieve any amount of data. Beside storing your data of your web app with S3, it might work great for backups, archives or big data analytics.
  17. 17. CDN & the big cloudy picture A content delivery network is basically a system of distributed servers which enables you to serve content to your app users with high performance and high availability. Let’s assume you have 3 EC2s installed. One in the US, one in Europe and one in Singapore. If someone from New York visits your app, the CDN enables you to serve content to the user through the EC2 located in the US. How we at Usersnap have 
 set up our web app and the 
 role of EC2, S3 and CDN.
  18. 18. Enjoyed this presentation?
  19. 19. Enjoyed this presentation? Yes you did? Awesome.
  20. 20. Enjoyed this presentation? Yes you did? Awesome. Give it a tweet!
  21. 21. Enjoyed this presentation? Yes you did? Awesome. Give it a tweet! PLEASE!!!!!!
  22. 22. ONE LAST THING… JUST PING US ON TWITTER.
  • NajmulHoqueSharif

    Apr. 3, 2018
  • toryjon9

    Apr. 13, 2017
  • Emanuelq23

    Apr. 9, 2017
  • CihatKAHRAMAN

    Sep. 2, 2016
  • InformationData

    Jun. 20, 2016
  • feuzebiodacruz

    Apr. 2, 2016
  • tepotzotlaneninternet

    Feb. 4, 2016
  • anthonybeyer

    Jan. 4, 2016
  • mgillett43

    Dec. 23, 2015
  • RodneyAnderson6

    Dec. 17, 2015
  • GraceBlueDiamond

    Dec. 16, 2015
  • GenoScala1

    Dec. 10, 2015
  • katemoran6

    Dec. 8, 2015
  • giannhs2000

    Dec. 3, 2015
  • luispais18

    Nov. 30, 2015
  • Halfnhav41

    Nov. 29, 2015
  • annapurnadevi39

    Nov. 26, 2015
  • TrishDuggan

    Nov. 24, 2015
  • StanleyMondal

    Nov. 21, 2015
  • TOMTOGGAS

    Nov. 20, 2015

When building a (global) SaaS application chances are high that you’re building it in the cloud. The cloud has a lot of advantages – think of scalability – in contrast to local server environments. Therefore this post, and the ones which will follow, focus on software which is built and engineered in the cloud. Here’s how to secure a cloud-based SaaS architecture. More and more SaaS businesses are taking off the ground today. And it’s great. The SaaS business is a super-fast growing industry attracting more and more people and companies. These organizations are more and more floating applications in the cloud. Scaling in the cloud has some essential benefits and risks as well. Starting with this blog post we are going to show you how to start building a cloud-based SaaS architecture, dealing with issues of scalability and what this means for your software stack.

Views

Total views

4,339

On Slideshare

0

From embeds

0

Number of embeds

169

Actions

Downloads

107

Shares

0

Comments

0

Likes

47

×