avatarServerless Guru

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

1976

Abstract

ing MongoDB on premises along with the rest of their web application. They hired Serverless Guru to help move them from on premises to the cloud.</p><p id="d049">The project was broken down into three core parts.</p><ol><li>Moving the Angular Frontend to S3 + CloudFront (HTTPS) with an automated multi-stage/multi-region deployment strategy. Along with a CI/CD to trigger deployments automatically off GitHub pushes to the <b>dev </b>or <b>master </b>branches via Google Cloud Build.</li><li>Moving the Java Spring Boot APIs to AWS in a scalable, ideally fully managed solution. Version 2, refactoring the codebase away from relying on an active server completely to lambda functions (#serverless).</li><li>Picking up the MongoDB database and finding a fully managed solution to support the effort. The initial decision was towards MongoDB Atlas. However, DocumentDB has now arrived!</li></ol><h2 id="c2be">Why DocumentDB over MongoDB Atlas?</h2><p id="21d3">Well to be perfectly fair to MongoDB Atlas, we have a lot more experience working in the AWS environment. All though we did become comfortable working with MongoDB Atlas. Atlas did give us some weird behavior. Either way, Atlas was much better than running our own cluster from scratch on AWS or GCP.</p><p id="1970">Note: We are not long term customers of MongoDB Atlas, your results may vary.</p><h2 id="9fdc">Additional Content:</h2><ul><li><a href="https://readmedium.com/industry-predictions-for-2019-daab461e8c">Industry Predictions for 2019</a></li><li><a href="https://readmedium.com/best-practices-for-serverless-development-d13061b3593e">Best Practices for Serverless Development</a></li><li><a href="https://readmedium.com/serverless-ci-cd-cloud-build-e8c09e9a1018">Serverless CI/CD</a></li><li><a href="https://readmedium.com/aws-to-gcp-web-applications-89ed92070832">Serverless Web Applications — AWS v GCP</a></li></ul><h2 id="6bba">What does Serverless Guru do?</h2><p id="bdbc"><a href="https://serve

Options

rlessguru.com/">Serverless Guru</a> helps companies build scalable and cost-effective applications on the cloud. We help train companies on how to leverage IAC, serverless, and cloud-native services. We help migrate existing applications to the cloud and optimize existing applications on the cloud to be more cost-effective. We are a <a href="https://serverless.com/blog/serverless-guru-development-partner/">Serverless development partner</a> and an <a href="https://aws.amazon.com/partners/find/partnerdetails/?n=Serverless%20Guru%20LLC&amp;id=0010h00001ZYARSAA5">AWS Consulting partner</a>.</p><figure id="e7e5"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*YVTi34Z2Ma-rfsGzacozcQ.png"><figcaption></figcaption></figure><h2 id="8cf6">What did we miss?</h2><p id="e95a">When you leave your answer make sure to either comment below or tweet your answer to <a href="https://twitter.com/serverlessgurux">@serverlessgurux</a> on Twitter.</p><figure id="81e1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*HiVEosOp89vJDB9H"><figcaption><a href="https://serverlessguru.com">https://www.serverlessguru.com</a></figcaption></figure><h1 id="1be9">Ryan Jones</h1><p id="59ff">Founder — <a href="https://www.serverlessguru.com">Serverless Guru</a></p><p id="3039">LinkedIn — <a href="https://linkedin.com/in/ryanjonesirl">@ryanjonesirl</a></p><p id="1cd6">Twitter — <a href="https://twitter.com/ryanjonesirl">@ryanjonesirl</a></p><p id="3395">Thanks for reading 😄</p><p id="853d">If you would like to learn more about <a href="https://www.serverlessguru.com">Serverless Guru</a>, please follow us on <a href="https://medium.com/@serverlessguru">Medium</a>, <a href="https://twitter.com/serverlessgurux">Twitter</a>, <a href="https://www.instagram.com/serverlessguru/">Instagram</a>, <a href="https://www.facebook.com/serverlessguru">Facebook</a>, or <a href="https://www.linkedin.com/company/serverlessguru/">LinkedIn</a>!</p></article></body>

What is AWS DocumentDB?

Let’s take a look at AWS DocumentDB, a fully managed MongoDB service released back in January of 2019.

pixabay.com

AWS Released a new service called, DocumentDB. Which allows you to run fully managed MongoDB workloads in minutes. That can scale to 16 instances and 15 read replicas. Madness! 🔥

Amazon DocumentDB is designed from the ground-up to give you the performance, scalability, and availability you need when operating mission-critical MongoDB workloads at scale. In Amazon DocumentDB, the storage and compute are decoupled, allowing each to scale independently, and developers can increase the read capacity to millions of requests per second by adding up to 15 low latency read replicas in minutes, regardless of the size of your data. Amazon DocumentDB is designed for 99.99% availability and replicates six copies of your data across three AWS Availability Zones (AZs).

For more information check out the DocumentDB AWS product page, https://us-west-2.console.aws.amazon.com/docdb.

Why am I excited?

Recently, we’ve been working with a customer who has been running MongoDB on premises along with the rest of their web application. They hired Serverless Guru to help move them from on premises to the cloud.

The project was broken down into three core parts.

  1. Moving the Angular Frontend to S3 + CloudFront (HTTPS) with an automated multi-stage/multi-region deployment strategy. Along with a CI/CD to trigger deployments automatically off GitHub pushes to the dev or master branches via Google Cloud Build.
  2. Moving the Java Spring Boot APIs to AWS in a scalable, ideally fully managed solution. Version 2, refactoring the codebase away from relying on an active server completely to lambda functions (#serverless).
  3. Picking up the MongoDB database and finding a fully managed solution to support the effort. The initial decision was towards MongoDB Atlas. However, DocumentDB has now arrived!

Why DocumentDB over MongoDB Atlas?

Well to be perfectly fair to MongoDB Atlas, we have a lot more experience working in the AWS environment. All though we did become comfortable working with MongoDB Atlas. Atlas did give us some weird behavior. Either way, Atlas was much better than running our own cluster from scratch on AWS or GCP.

Note: We are not long term customers of MongoDB Atlas, your results may vary.

Additional Content:

What does Serverless Guru do?

Serverless Guru helps companies build scalable and cost-effective applications on the cloud. We help train companies on how to leverage IAC, serverless, and cloud-native services. We help migrate existing applications to the cloud and optimize existing applications on the cloud to be more cost-effective. We are a Serverless development partner and an AWS Consulting partner.

What did we miss?

When you leave your answer make sure to either comment below or tweet your answer to @serverlessgurux on Twitter.

https://www.serverlessguru.com

Ryan Jones

Founder — Serverless Guru

LinkedIn — @ryanjonesirl

Twitter — @ryanjonesirl

Thanks for reading 😄

If you would like to learn more about Serverless Guru, please follow us on Medium, Twitter, Instagram, Facebook, or LinkedIn!

AWS
Cloud Computing
Mongodb
Software Development
Programming
Recommended from ReadMedium