AWS Batch
- Managed Service to Perform Batch Operations
- To use create a docker image or use existing docker images
- AWS helps in calling docker container with the command.
- This container should execute the Batch job
JSON
- It is Data Representation Format
- Data is organized as name value pairs.
- Syntax is
name: value
value => number/text/boolean/list/object
- Text name value. Text is represented by single or double quotes
"name": "QT"
"age": 10
"isonline": True
"courses": ["AWS", "DevOps", "Azure"]
- Object: Multiple name value pairs
"address": {
"Flat no": "208-B",
"Building": "Nilgiri",
"LandMark": "Metro Station"
}
YAML
- It is Data Representation Format
- Data is organized as name value pairs.
- Syntax is
name: value
value => number/text/boolean/list/object
- Text name value. Text is represented by single or double quotes
"name": "QT"
"age": 10
"isonline": yes
"courses":
- AWS
- AZURE
- DevOps
- Object: Multiple name value pairs
"address":
"Flat no": "208-B"
"Building": "Nilgiri"
"LandMark": "Metro Station"
Example:
- Write a JSON and YAML Representing Electronics Store:
{
"Name": "Bajaj",
"Address": {
"Flat no": "208-B",
"Building": "Nilgiri",
"LandMark": "Metro Station"
},
"Categories": {
"Consumer" : {
"Samsung UHD 49" : {
"price": 89327
}
}
}
}
YAML
---
Name: Bajaj
Address:
Flat no: 208-B
Building: Nilgiri
LandMark: Metro Station
Categories:
Consumer:
Samsung UHD 49:
price: 89327
- Write a Json Representing Bank Accounts:
JSON
{
"Name": "Khaja",
"PAN": "klskdlfjs",
"AADHAR": "xxxx-xxxx-xxxx-xxxx",
"Savings": [
{
"Accountno" : 3982749832,
"Balance": 8932473892743982732989234,
}
],
"Current": [],
"FD": [],
"PPF": []
}
YAML
---
Name: Khaja
PAN: klskdlfjs
AADHAR: xxxx-xxxx-xxxx-xxxx
Savings:
- Accountno: 3982749832
Balance: 8.932473892743983e+24
Current: []
FD: []
PPF: []
Like this:
Like Loading...
One thought on “AWS Classroom Notes – Cloudformation – 24/Dec/2019”