Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Quickstart

https://obrienlabs.medium.com/cloud-finops-18a5e9942d84?sk=88b1852b11d4dfd6e8c84cca9fd83350

We watch the AWS Cost Explorer https://console.aws.amazon.com/cost-management/home?#/dashboard to manage our on-demand, reserved and spot costs.

Cloud Financing

Cloud Free Tier




Cloud Startup Programs

AWS Activate Founders

https://aws.amazon.com/activate/founders/

AWS Activate will require a project that is running 100% on amazon - you will receive the default $1000US one time funds - if you meet the criteria you can move up to 100K

Image Added

Cloud Training

AWS Partner status

https://partnercentral.awspartner.com/APNLogin

https://www.exitcertified.com/it-training/aws/security/security-engineering-44510-detail.html?studenttype=ptnr

https://www.exitcertified.com/it-training/aws/architect/architecting-4-0-34767-detail.html

AWS Partner status has additional partner courses and 75% off select courses above at Exit Certified - even while you are in the "registered" status  - before you meet all criteria


AWS Customer Counsel

Assist in customer insight

$50 for surveys

$150 for meetings (I missed the one on the 2nd of Aug as I broke my shoulder with a quick last minute rollerblade 2h before the meet - first time in 30 years I went without foot inserts as I forgot them in my other rollerblades after the rivet on the 2021 models broke on my 2nd pair - hence the need lately to purchase 4+ blade pairs in advance from K2)

Image Added


FinOps Principals

Favour Autoscaling to follow the demand curve very closely

...

Autoscaling is not instant.  The underlying infrastructure of NLB autoscaling for example - is itself EC2 instances - that take time to replicate and start.  Even Lambda needs to be pre-warmed.  Therefore the disadvantage to in placing some of a K8S cluster worker nodes under an auto scaler for example will be that that capacity will not be instantly available like it would if we overprovisioned over provisioned for excess capacity ahead of time.

...

We also need to derive out the base case costs (overhead adjustment).

TypeGranularityServiceExampleUtilization per serviceTypeFormulaFree TierCost
US/m
Shared overhead
compute1 vCPUIaaS EC2t3a.micro100%On Demand








Reserved
3y no front









Spot
20210218






PaaS K8S3 x t3a.large1/12






CaaS Fargate
n/a






FaaS Lambda
n/a
1M 128Kb 100ms
= .0125 GB-s
400k GB-s0.20 req
0.21 exec
$0.41

persistence1 GBIaaS RDS
100%






DBaaS Aurora
n/a






DBaaS DynamoDB
n/a




storage1 GBS3
n/a




throughput1 GbpsNetwork In
















AI AWS Textract

Text and Image Processing#TextractAPIExamples



0.07 / tx

Image Added


Costing Options

ToolDetails
Cost Explorer

Cost Estimator

Savings Plans

Free tier usageMost services have tier - once used gone - so the first service in gets the benefit
Volume pricingIf several services saturate for example S3 - subsequent services will benefit with lower pricing (resource pooling)
Auto scaled reservedIf service A kicks in k8s autoscaling of the worker nodes - all other services benefit by default due the capacity increase.
The reverse is true - if service A terminates - then service B (rogue) had full use of most of the vCores on a scaled node - now needs to share in a more overall saturated smaller cluster

Partitioned useMove read-only traffic - like monitoring/reporting to a read replica that is optimized for read not read/write

AWS Cost Calculator

It would be ideal if we could plan and track costs as pseudo Costs as Code (tied to Cloud Formation/terraform scripts).  There is a way to export estimates in the https://calculator.aws/#/ using https://docs.aws.amazon.com/pricing-calculator/latest/userguide/export-estimate.html 

see also https://s3.amazonaws.com/lambda-tools/pricing-calculator.html

There are issues with the cost calculator - it does not import estimate templates or break out details costs after the initial construction.

...

And share to public URL
https://calculator.aws/#/estimate?id=ec30ab632e0ef82e8aad565a2b42d03498380b85

Commercial Licenses

Presentation

Label/TagDetailsExamples
introseveral layers of costs savings
Historydiscuss how aws sold excess monthly capacity
detail spot

Effects

cost model can drive innovation

cloud adoption is always hybrid





Levels

reserved

preemptible - google fixed spot 24h

spot - 2 min warning

kubernetes PaaS

serverless

"cloud is the new mainframe"

Amazon EC2 Spot - show savings on wizard



serverless

http://eventfield.io/


demo

ec2 reserved

ec2 spot

rds reserved

lambda resource limits



Most orgs not in the business of IT
drawbacks 

serverless issues of infinite scale

resource limits not set

Kubernetes Cluster across VMware nodes on OSX or Windows#Experiment:RunafullsaturationDaemonSetkubernetesdeploymentacrossallnodesinthecluster

security by obscurity - individual EC2 hacking
best practices

immutable infrastructure

automated deployment/scaling


Links

https://www.finops.org/events/

Form3 Cloud Native Payments (Startup) https://www.form3.tech/about