# **Focus: Managed services**
---
* Lambda
* EBS
* ECS VS EKS
* SQS and SNS
* Dev tools:
* Mobile Services

---------------------------------------------------------------------
### The fundamental notion of software refactoring is to change application code for the better.

* Take monolithic apps and convert each service into microservices
Benifits Microservices (Service oriented Architecture)
* Agility
* Technology Freedom
* Flexible scaling
* Reusable code
* Easy Development
* Resilience
Best Pratices
* Chaning components withut breaking them
* Use a simple API.
* Servers should be stateless
* it should be seen as interchangeable members of a group
* focus on determining if you have enough capacity to handle your workload.
* Adding/removing instances with auto scaling is much easier with a stateless approch.

**From Microservices**

* servers(orange boxes)
**To Serverlesss**

* Serverless applications are ones that don't require you to provision or manage any servers.
Architectural Evolution
**EC2 --> ECS --> Lambda**
EC2 -> VM
ECS -> (Container) Task
Lambda -> Function
EC2 Pricing
* As of last week a reservered instances are legacy
* Reserved instances are turned into savings plan (kinda like paying monthly service fee)