Pages

Thursday, November 30, 2023

provisioning note

 everything is API call



==========


invoke or call api to configure and manage aws instance



==========



// aws management console   == browser based

// aws CLI

// aws SDK

// aws cloudFormation



==========




// aws management console


- manual provisioning

- bs ada manual eror. melelahkan konfig next next next


test environtment

view aws billing

view monitoring

work with non tech resources


==========



// aws CLI


- digunain buat mempercepat konfigurasi via cli 

- digunain di production

- makes action scriptable and repeatable

- can use schedulle or can use trigger by another process

- enabling automation






make api call using the terminal on your machine 


==========



// aws SDK


interact with aws resources through various programming language 


- able to create program that using aws without low level api 




=========



// aws elastic beanstalk


managed provisioning tools for aws ec2



^ create app code and desired configuration to aws elastic beanstalk service 




auto build multiple environtment.


> us east region

> security group

> deploy elb

> deploy auto scalling

> raise 2 ec instance

> have 1 database running



- easy to save environtment configuration bundle. deployed again easily.



// goal task:

Adjust capacity

Load balancing

Automatic scaling

Application health monitoring









// aws cloudformation


- create automated and repeatable deployment

- infra as a code tool

- using json / yaml format

- support storage , db, analytic, machine learning




^ dibentuk dalam bentuk template

^ nanti diparse sama cloudformation lalu start provisioning all resource

secara pararel


^ aws CF dibalik layar connect ke backend AWS API ke masing2 resource.



^ bs bikin template untuk 1 region , lalu bikin identical clone buat di deploy ke region yg lain.



^ less room for human eror 


^ totally automated process









========


best practice = minimal 2 availability zone



==========

No comments:

Post a Comment