BYU-Broadcast/ScreenSharing

[ScreenSharing] AWS Lambda + ECS

brightlightkim 2022. 4. 22. 02:23

 

Lambda

- Run my code

 

ECS

- Runs my Container (Amazon's way of running containers)

- Container has codes in it

- There are more robust than we can add things

- They can run multiple languages

- It's more configurations and more complex

 

Containers

- More powerful than Lambda

- Tasks (Worker) >> Logs, Networking, Tags

 

Extra Info:

VM Fulsions(Running Windows in MAC)

- Virtural Machine

 

MICRO VM

- Take away everything >> Docker

 

Docker

- Creates an image.

- Docker Images >> Contain the kind of "iso" in the machine

- All these things have packages somewhere. 

- Docker enables you to separate your applications from your infrastructure so you can deliver software quickly

 

Docker Images (Class Definition):

- Read-only template

 

Containers (Object, Instances, Code):

- Running Instances

- "Run my container based on this image"

 

Service:

- Express servers

 

docker build .

- Creates an images

- Shared not found

- docker build --tag [tag name] -f [destination]

- tagname comes with blueprint

- Docker run containers

- Runs exactly same as first built in another desktop

 

docker ps

- It shows every docker containers that are running

- image matches all image ids