49
Designing a “Well Architected” SaaS Oron Adam CTO & Architect Emind Cloud Experts

A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Embed Size (px)

Citation preview

Page 1: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Designing a “Well Architected”

SaaSOron AdamCTO & ArchitectEmind Cloud Experts

Page 2: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv
Page 3: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Emind’s Cloud Architecture Workshop3-4 Hours initial meeting

Up to 10 hours total meetings + design hours

Deliverables:

● AWS Blueprint● SOW (Scope of Work)● AWS Monthly Quote

Page 4: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Architecture decisions can have aserious impact on the business

~45 questions regarding critical challenges

https://d0.awsstatic.com/whitepapers/architecture/AWS_Well-Architected_Framework.pdf

Page 5: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

A well architected system is:● Secure● Reliable (Fault Tolerance)● High performing and efficient ● Cost Effective

Page 6: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Reliable

Page 7: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Secure

Page 8: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

High Performance & Efficiency

Page 9: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

The 4 pillarsSecurity (SEC) The ability to protect information, systems, and assets while delivering business value through risk assessments and mitigation strategies.

Reliability (REL) The ability of a system to recover from infrastructure or service failures, dynamically acquire computing resources to meet demand, and mitigate disruptions such as misconfigurations or transient network issues.

Performance (PERF) Efficiency The ability to use computing resources efficiently to meet system requirements, and to maintain that efficiency as demand changes and technologies evolve.

Cost Optimization (COST) The ability to avoid or eliminate unneeded cost or suboptimal resources.

Page 10: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost Effective

Page 11: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

But remember … Everything is a tradeoff

Page 12: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Tradeoffs 2

Page 13: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

SecuritySEC 1. How are you encrypting and protecting your data at rest?

SEC 2. How are you encrypting and protecting your data in transit?

Page 14: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

SecuritySEC 2. How are you encrypting and protecting your data in transit?

Page 15: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

SecuritySEC 3. How are you protecting access to and use of the AWS root account credentials?

SEC 4. How are you defining roles and responsibilities of system users to control human access to the AWS Management Console and APIs?

Page 16: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

SecuritySEC 5. How are you limiting automated access (such as from applications, scripts, or third-party tools or services) to AWS resources?

SEC 6. How are you managing keys and credentials?

Page 17: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

SecuritySEC 7. How are you enforcing network and host-level boundary protection?

SEC 8. How are you enforcing AWS service level protection?

SEC 9. How are you protecting the integrity of the operating systems on your Amazon EC2 instances?

Page 18: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Security with UTMS & ELBs

Page 19: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

SecuritySEC 10.How are you capturing and analyzing AWS logs?

Page 20: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Reliability REL 1. How are you managing AWS service limits for your account?

REL 2. How are you planning your network topology on AWS?

REL 3. Do you have an escalation path to deal with technical issues?

Page 21: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Design for failure Multi AZ

Page 22: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Design for failure cont.

Page 23: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Design for failure Databases

Page 24: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Reliability REL 4. How does your system adapt to changes in demand?

Page 25: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Reliability REL 5. How are you monitoring AWS resources?

Page 26: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Reliability REL 6. How are you executing change management?

Page 27: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Reliability REL 7. How are you backing up your data?

Page 28: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Reliability REL 8. How does your system withstand component failures?

REL 9. How are you planning for recovery?

Page 29: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Testing Systems @ Production scaleAfter the build is done

Page 30: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Reliability Design for failure

Decouple Services

Page 31: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Traceability and Log AggregationELK

Graylog

Logz.IO

Other SaaS vendors

Page 32: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Performance & EfficiencyCompute

Storage

Databases

Space-time tradeoff

Page 33: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Performance & Efficiency 2Serverless architectures

Build Vs Buy

Business performance - bring value faster, experiment faster and cheaper with automation

Page 34: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Performance & EfficiencyPERF 1. How do you select the appropriate instance type for your system?

PERF 2. How do you ensure that you continue to have the most appropriate instance type as new instance types and features are introduced?

PERF 3. How do you monitor your instances post launch to ensure they are performing as expected?

PERF 4. How do you ensure that the quantity of your instances matches demand?

Page 35: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Performance & EfficiencyPERF 5. How do you select the appropriate storage solution for your system?

PERF 6. How do you ensure that you continue to have the most appropriate storage solution as new storage solutions and features are launched?

PERF 7. How do you monitor your storage solution to ensure it is performing as expected?

PERF 8. How do you ensure that the capacity and throughput of your storage solutions matches demand?

Page 36: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Performance & EfficiencyPERF 9. How do you select the appropriate database solution for your system?

Page 37: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Performance & EfficiencyPERF 10. How do you ensure that you continue to have the most appropriate database solution and features as new database solution and features are launched?

PERF 11. How do you monitor your databases to ensure performance is as expected?

PERF 12. How do you ensure the capacity and throughput of your databases matches demand?

Page 38: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Performance & EfficiencyPERF 13. How do you select the appropriate proximity and caching solutions for your system?

Page 39: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Performance & EfficiencyPERF 14. How do you ensure that you continue to have the most appropriate proximity and caching solutions as new solutions are launched?

PERF 15. How do you monitor your proximity and caching solutions to ensure performance is as expected?

PERF 16. How do you ensure that the proximity and caching solutions you have matches demand?

Page 40: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost OptimizationCOST 1. How do you make sure your capacity matches but does not substantially exceed what you need?

COST 2. How are you optimizing your usage of AWS services?

Page 41: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost OptimizationCOST 3. Have you selected the appropriate resource types to meet your cost targets?

COST 4. Have you selected the appropriate pricing model to meet your cost targets?

COST 5. Are there managed services (higher-level services than Amazon EC2, Amazon EBS, and Amazon S3) that you can use to improve your ROI?

Page 42: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost OptimizationCOST 5. Are there managed services (higher-level services than Amazon EC2, Amazon EBS, and Amazon S3) that you can use to improve your ROI?

Page 43: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost OptimizationCOST 6. What access controls and procedures do you have in place to govern AWS costs?

COST 7. How are you monitoring usage and spending?

Page 44: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost OptimizationCOST 8. How do you decommission resources that you no longer need, or stop resources that are temporarily not needed?

COST 9. How do you consider data-transfer charges when designing your architecture?

Page 45: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost OptimizationCOST 10. How do you manage and/or consider the adoption of new services?

Page 46: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost Optimization● Identify cost groups by tagging● Free Cloudyn for Emind customers!● Define owners for expenditure and make them optimize● Use manage services to reduce TCO● Trade CAPEX for OPEX● Economies of Scale

Page 47: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Cost Optimization 2● Match supply and demand - ASGs● Use the right family type● Consider Reserving ● Use Spots - Self or SpotInst

Page 48: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Key TakeawayEasy to design “well architected” system

Use the framework as a check list

Page 49: A Well Architected SaaS - A Holistic Look at Cloud Architecture - Pop-up Loft Tel Aviv

Thank you