Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Łukasz Budnik
Łukasz Budnik

Posted on • Edited on

     

Building cloud native apps: Backing services

Backing services as attached resources

The Twelve-Factor Apps has a great summary of backing services:https://12factor.net/backing-services.

I love it and I have very little to add. That's the essence of building a modern software.

Off-the-shelf PaaS/SaaS services

I want to make one important point. Wherever possible use integrations to existing PaaS/SaaS managed services rather than trying to build various services yourself. (Does this ring a bellBuilding cloud native apps: Identity and Access Management?)

The Twelve-Factor App was created by Heroku team and I will use Heroku as an example. I remember when I built my first big app on Heroku back in 2012. I used a number of different Heroku addons (now calledHeroku Elements Marketplace) and it was a truly mind-blowing experience. I just attached managed services to my app and used them (endpoints and/or API keys exposed via env variables). Heroku was the avant-garde of PaaS.

The beauty of Heroku platform is that you simply can't do it wrong. You don't have access to the underlying infrastructure and there is no temptation for you to host your own Elasticsearch cluster and build your own log management solution. I know: homegrown solutions may appear cheaper, but in terms of the quality can you really match a service delivered by a highly specialized company?

What many people tend to forget is that your team's time is worth more than the costs of those services. Your team should be focusing on the business value and not trying to figure out how to best implement HA for a database cluster or troubleshoot performance issues with your log management solution.

Just look atHeroku Elements Marketplace or check out AWS, Azure, GCP list of managed services. The big cloud players offer you everything you need to develop your application: Compute, Serverless, Networking, Databases, Caches, Queues, Storage, Monitoring, Log Management, Security/Governance & Compliance/Threat Detection & Prevention, Encryption, Machine Learning, Artificial Intelligence, Internet of Things, Mobile, Game Tech, Media Services, VR & AR. AWS offers even crazy services likeAWS Ground Station to control your satellites.

To wrap up:

  1. treat backing services as attached resources;
  2. don't build them yourself, use specialized managed services.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Software Captain
  • Location
    Gdańsk, Poland
  • Joined

More fromŁukasz Budnik

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp