Next-Generation Software Delivery Models on AWS
Software delivery has been evolving. Not too many years ago most software lived on-premise. Then came the web-hosted app, and then robust cloud solutions like those provided by various combinations of AWS services.
At this week’s re:Invent, Sajee Mathew – Solutions Architect at AWS – talked about the best approach to build SaaS (Software as a Solution) solutions. There are basically three possible approaches:
- Isolated customer stacks, which offer independent resources for each customer.
- Containerization on shared platforms which use EC2 Container Service and Docker to provide “slices” of AWS.
- Pure SaaS shared architecture by means of on-demand resources.
The isolated customer stacks model means that, for every new customer, you simply replicate the stack. It makes billing and provisioning quite simple, but it comes with a catch: thousands of customers will translate into way too many stacks.
Containerization requires fewer resources, as a considerable part of your infrastructure can be shared among all your customers. Assuming you won’t face too many coding changes, it’s a good solution for new apps.
Pure SaaS shared architecture is definitely the best approach for a brand new app. Despite the need for all parts of the application to be multi-tenant-aware, you can benefit from economies of scale. Deployments serving new customers are automatically built on autoscaling single infrastructures.
As part of his presentation, Sajee defined each component of a pure SaaS shared architecture (along with AWS services built to deliver it):
- SaaS Ordering: the entry point for purchasing access to SaaS apps, for the orchestration of which AWS Simple Workflow might be useful.
- SaaS Provisioning: this component manages the fully automated deployment of resources and represents the cornerstone of elasticity and scalability. CloudFormation is used to define the stack, while OpsWorks, Beanstalk, and ECS are used to deploy components.
- Application Lifecycle Management: the biggest challenge in traditional architectures. Operations need to be transparent and must function with zero downtime as automation layers for continuous integration. CodePipeline, CodeCommit, and CodeDeploy are all powerful management tools.
- SaaS Billing: this component aggregates per-customer metering and rate information. You can use DynamoDB to store bills and aggregated data, and EMR for processing usage info and generate bills.
- SaaS Analytics: the aggregation point for all data sources in the development of a data warehouse. Analytics can provide a useful analysis of app performance and usage that drive decisions.
- SaaS Authentication and Authorization: a single store for all users data, third party SSO, and corporate directories. You could use IAM for policy-based access, KMS for key management, Cognito for mobile and web authentication, Directory Service, and RDS.
- SaaS Monitoring: real-time monitoring and awareness of application health require the highest scale and availability. There are plenty of off-the-shelf solutions if you don’t feel like using Amazon Kinesis and CloudWatch.
- SaaS Metering: this component gives your system the ability to understand and track usage and activity, and support audit requirements for billing. You might use Amazon Lambda to feed a metering queue on SQS.
SaaS best practices
Sajee also provided some best practices for building SaaS solutions:
- Separate the platform from the program. Avoid tight coupling. Applications will change a lot over time, but core services should remain reusable so they can support a whole fleet of SaaS applications.
- Optimize for cost and performance. Go for horizontal scalability at every level and create small parallel resource units that scale more efficiently. Also, use scalable services such as DynamoDB and Aurora.
- Design for multi-multi-tenancy.
- Know your data lifecycle. Value and usage change over time, you should, therefore, leverage efficient storage options.
- Collect everything and learn from it. Reliably collect as many metrics as possible and store them long term. The goal is to know your customers in order to learn and profit through analytics.
Top 13 Amazon Virtual Private Cloud (VPC) Best Practices
Amazon Virtual Private Cloud (VPC) brings a host of advantages to the table, including static private IP addresses, Elastic Network Interfaces, secure bastion host setup, DHCP options, Advanced Network Access Control, predictable internal IP ranges, VPN connectivity, movement of interna...
Big Changes to the AWS Certification Exams
With AWS re:Invent 2019 just around the corner, we can expect some early announcements to trickle through with upcoming features and services. However, AWS has just announced some big changes to their certification exams. So what’s changing and what’s new? There is a brand NEW ...
New on Cloud Academy: ITIL® 4, Microsoft 365 Tenant, Jenkins, TOGAF® 9.1, and more
At Cloud Academy, we're always striving to make improvements to our training platform. Based on your feedback, we released some new features to help make it easier for you to continue studying. These new features allow you to: Remove content from “Continue Studying” section Disc...
AWS Security Groups: Instance Level Security
Instance security requires that you fully understand AWS security groups, along with patching responsibility, key pairs, and various tenancy options. As a precursor to this post, you should have a thorough understanding of the AWS Shared Responsibility Model before moving onto discussi...
Cloud Migration Risks & Benefits
If you’re like most businesses, you already have at least one workload running in the cloud. However, that doesn’t mean that cloud migration is right for everyone. While cloud environments are generally scalable, reliable, and highly available, those won’t be the only considerations dri...
Real-Time Application Monitoring with Amazon Kinesis
Amazon Kinesis is a real-time data streaming service that makes it easy to collect, process, and analyze data so you can get quick insights and react as fast as possible to new information. With Amazon Kinesis you can ingest real-time data such as application logs, website clickstre...
Google Cloud Functions vs. AWS Lambda: The Fight for Serverless Cloud Domination
Serverless computing: What is it and why is it important? A quick background The general concept of serverless computing was introduced to the market by Amazon Web Services (AWS) around 2014 with the release of AWS Lambda. As we know, cloud computing has made it possible for users to ...
Google Vision vs. Amazon Rekognition: A Vendor-Neutral Comparison
Google Cloud Vision and Amazon Rekognition offer a broad spectrum of solutions, some of which are comparable in terms of functional details, quality, performance, and costs. This post is a fact-based comparative analysis on Google Vision vs. Amazon Rekognition and will focus on the tech...
New on Cloud Academy: CISSP, AWS, Azure, & DevOps Labs, Python for Beginners, and more…
As Hurricane Dorian intensifies, it looks like Floridians across the entire state might have to hunker down for another big one. If you've gone through a hurricane, you know that preparing for one is no joke. You'll need a survival kit with plenty of water, flashlights, batteries, and n...
Amazon Route 53: Why You Should Consider DNS Migration
What Amazon Route 53 brings to the DNS table Amazon Route 53 is a highly available and scalable Domain Name System (DNS) service offered by AWS. It is named by the TCP or UDP port 53, which is where DNS server requests are addressed. Like any DNS service, Route 53 handles domain regist...
How to Unlock Complimentary Access to Cloud Academy
Are you looking to get trained or certified on AWS, Azure, Google Cloud Platform, DevOps, Cloud Security, Python, Java, or another technical skill? Then you'll want to mark your calendars for August 23, 2019. Starting Friday at 12:00 a.m. PDT (3:00 a.m. EDT), Cloud Academy is offering c...
What Exactly Is a Cloud Architect and How Do You Become One?
One of the buzzwords surrounding the cloud that I'm sure you've heard is "Cloud Architect." In this article, I will outline my understanding of what a cloud architect does and I'll analyze the skills and certifications necessary to become one. I will also list some of the types of jobs ...