Designing cost optimised arch Flashcards

1
Q

What are the 5 pillars of the well architext frame work?

A

1) Operational Excellence
2) Security
3) Reliability
4) Performance Efficiency
5) Cost optimization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 5 design priniciples for cost optimiasation?

A

1) Adopt a consumption model – only pay for the resources you conume e.g. stop resources when you are not using them/
2) Measure over all efficiency –> measure output of the system and the costs associated
3) stop spending money on data center operations
4) analyse and atrribute expenditure –> The cloud makes it easy to see usage and cost of the system to measure ROI
5) Use managed services to reduce the cost of ownership e.g. RDS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the 4 areas of cost optimization in the cloud?

A

1) cost-effective resources
2) Matching supply with demand
3) Expenditure awareness
4) Optimizing over time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 6 approaches for using the appropriate services, resources and configurations?

A

1) Appropriate provisioning e.g. modifying number of nodes on EMR cluster to scale out

This can be managed by used CloudWatch to monitor usage

2) Right sizing –> Selecting the lowest cost resource that still meets the technical specification of a specific workload
e. g. EC2 stop and start can be peformed to change instance size or type

Remember monitoring or usage MUST reflect the end user experience e.g. correct time period to rep the max, time period of analysis (month or weekly?), cost of modification

CloudWatch can be used and AWS trusted advisor (scans analysis of resources)

3) Purchase options e.g. on demand, spot, reserved instances

Ondemand – spiky
Spot (can have spot block– spot for req duration 1 to 6 hours) – science research

4) Geographic selection

Reduced latency can be a large factor in improving usage of e-commerce. Always select computing resources closest to the user

5) Manage services
6) Optimizing data transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Spot instances…

A

1) set a max price
2) if max price > current price the request is fulfilled
3) if current spot price rises above max the instance is stopped gracefully
4) If the price drops back below max the instance is resumed

If your instance if going to be reclaimed you will receive a 2 min warning (termination notice)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a spot fleet?

A

An entire fleet of spot instances that meet a target capacity and price point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the 3 things you consider when using spot instances?

A

1) Instance type
2) Where the resource is located- capacity can vary between AZs
3) Design for continuity -design for stops

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What happens to an EBS volume of a spot instance?

A

If remains intacted including the EBSS root volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How long do you commit with reserved instances?

A

1-3 years

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How much do you save with reserved instances?

A

75% over the eqiv on demand times… upto 90%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the 2 types of reserved EC2 instances?

A

Standard and convertible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is costexplorer?

A

Key service you can use to analyze your costs. You can use cost explorer to see how much y ou spend on AWS resources over time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What types of reserved instances can you have?

A

EC2, RDS, Redshift, Elasticache, DynamoDB, cloudfront…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can you optimize costs using simple monthly calculator?

A

You can estimate the cost to architect your solution in various regions around the world and compare costs of each.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly