SlideShare a Scribd company logo
©2015,  Amazon  Web  Services,  Inc.  or  its  affiliates.  All  rights  reserved
Deep Dive: AWS Command Line Interface
Martin Elwin
CRASH
COURSE
Intro to the AWS CLI
FOUNDATION ADVANCED
SCENARIOS
Exploring Key
Functionality
Looking at Advanced
CLI Features
Crash Course
Intro to the AWS CLI
AWS Command Line Interface
Unified tool to manage your AWS services
MSI (Windows)
Bundled (cross platform)
pip (cross platform)
aws	
  configure	
  
$	
  aws	
  ec2	
  describe-­‐instances	
  
Service (command) Operation (subcommand)
$	
  aws	
  iam	
  list-­‐access-­‐keys	
  
Service (command) Operation (subcommand)
{	
  
	
  	
  	
  "Places":	
  [	
  	
  
	
  	
  	
  	
  	
  	
  	
  {	
  	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
   	
  "City":	
  "Seattle",	
  	
  	
  	
  
	
   	
   	
   	
  	
   	
  "State":	
  "WA"	
  	
  
	
   	
   	
  },	
  	
  
	
   	
   	
  {	
  	
  
	
   	
   	
   	
   	
  "City":	
  "Las	
  Vegas",	
  
	
   	
   	
   	
   	
  "State":	
  "NV"	
  	
  
	
   	
   	
  }	
  	
  
	
  	
  ]	
  	
  
}	
  	
  
--output JSON
PLACES	
  	
  Seattle	
  	
   	
  WA	
  
PLACES	
  	
  Las	
  Vegas 	
  NV	
  
--output text
-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐	
  	
  
|	
  	
  	
  SomeOperationName	
  	
  	
  	
  |	
  	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  	
  
||	
  	
  	
  	
  	
  	
  	
  	
  	
  Places	
  	
  	
  	
  	
  	
  	
  ||	
  	
  
|+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|	
  	
  
||	
  City	
  	
  	
  	
  	
  	
  	
  |	
  State	
  	
  	
  ||	
  	
  
|+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|	
  	
  
||	
  Seattle	
  	
  	
  	
  |	
  WA	
  	
  	
  	
  	
  	
  ||	
  	
  
||	
  Las	
  Vegas	
  	
  |	
  NV	
  	
  	
  	
  	
  	
  ||	
  	
  
|+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|	
  	
  
--output table
All Outputs
JSON Text
PLACES	
  	
  Seattle	
  	
  	
  	
  WA	
  
PLACES	
  	
  Las	
  Vegas	
  	
  NV	
  
Table
-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐	
  	
  
|	
  	
  	
  	
  SomeOperationName	
  	
  	
  |	
  	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  	
  
||	
  	
  	
  	
  	
  	
  	
  	
  	
  Places	
  	
  	
  	
  	
  	
  	
  ||	
  	
  
|+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|	
  	
  
||	
  City	
  	
  	
  	
  	
  	
  	
  |	
  State	
  	
  	
  ||	
  	
  
|+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|	
  	
  
||	
  Seattle	
  	
  	
  	
  |	
  WA	
  	
  	
  	
  	
  	
  ||	
  	
  
||	
  Las	
  Vegas	
  	
  |	
  NV	
  	
  	
  	
  	
  	
  ||	
  	
  
|+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|	
  	
  
{	
  
	
  	
  	
  "Places":	
  [	
  	
  
	
  	
  	
  	
  	
  	
  	
  {	
  	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "City":	
  "Seattle",	
  	
  	
  	
   	
   	
   	
  
	
  	
   	
  "State":	
  "WA"	
  	
  
	
  },	
  	
  
	
  {	
  	
  
	
   	
  "City":	
  ”Las	
  Vegas",	
  
	
   	
  "State":	
  "NV"	
  	
  
	
  }	
  	
  
	
  	
  	
  ]	
  	
  
}	
  	
  
	
  
Demo
Basic AWS CLI Usage
Foundation
Exploring Key Functionality
Configuration
aws	
  configure	
  	
  
aws	
  configure	
  	
  
AWS	
  Access	
  Key	
  ID	
  [**ABCD]:	
  	
  
AWS	
  Secret	
  Access	
  Key	
  [****************EFGH]:	
  	
  
Default	
  region	
  name	
  [us-­‐west-­‐2]:	
  	
  
Default	
  output	
  format	
  [None]:	
  	
  
	
  
aws	
  configure	
  <subcommand>	
  	
  
list - list common configuration sources
get	
  -­‐	
  get	
  the	
  value	
  of	
  a	
  single	
  config	
  var	
  
set	
  -­‐	
  set	
  the	
  value	
  of	
  a	
  single	
  config	
  var	
  
aws	
  configure	
  <subcommand>	
  	
  
aws	
  configure	
  get	
  region	
  	
  
aws	
  configure	
  set	
  region	
  eu-­‐west-­‐1
A profile is a group of configuration values
aws	
  configure	
  -­‐-­‐profile	
  prod
aws	
  configure	
  set	
  profile.prod.region	
  eu-­‐west-­‐1
Configuration Files
~/.aws/credentials	
   ~/.aws/config
•  Supported by all AWS SDKs
•  Only contains credentials
•  Used only by the CLI
•  Can contain credentials (but not
the default behavior)
~/.aws/credentials ~/.aws/config
aws configure set profile.prod.aws_access_key_id foo
~/.aws/credentials ~/.aws/config
aws configure set profile.prod.aws_access_key_id foo
~/.aws/credentials ~/.aws/config
[prod]
aws_access_key_id = foo
aws configure set profile.prod.aws_secret_access_key bar
~/.aws/credentials ~/.aws/config
[prod]
aws_access_key_id = foo
aws configure set profile.prod.aws_secret_access_key bar
~/.aws/credentials ~/.aws/config
[prod]
aws_access_key_id = foo
aws_secret_access_key = bar
aws configure set profile.prod.region eu­west­1
~/.aws/credentials ~/.aws/config
[prod]
aws_access_key_id = foo
aws_secret_access_key = bar
aws configure set profile.prod.region eu­west­1
~/.aws/credentials ~/.aws/config
[prod]
aws_access_key_id = foo
aws_secret_access_key = bar
[profile prod]
region = eu-west-1
aws configure set profile.prod.output text
~/.aws/credentials ~/.aws/config
[prod]
aws_access_key_id = foo
aws_secret_access_key = bar
[profile prod]
region = eu-west-1
aws configure set profile.prod.output text
~/.aws/credentials ~/.aws/config
[prod]
aws_access_key_id = foo
aws_secret_access_key = bar
[profile prod]
region = eu-west-1
output = text
create-new-user.sh
aws	
  iam	
  create-­‐user	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
= aws	
  iam	
  create-­‐access-­‐key	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
	
  -­‐-­‐query	
   	
  	
  
	
  -­‐-­‐output	
  text
= 	
  |	
  cut	
  -­‐d 	
  -­‐f	
  1
= |	
  cut	
  -­‐d 	
  -­‐f	
  2
aws	
  configure	
   	
  profile.summit.aws_access_key_id	
  
aws	
  configure	
   	
  profile.summit.secret_access_key	
  
aws	
  iam	
  create-­‐user	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
= aws	
  iam	
  create-­‐access-­‐key	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
	
  -­‐-­‐query	
   	
  	
  
	
  -­‐-­‐output	
  text
= 	
  |	
  cut	
  -­‐d 	
  -­‐f	
  1
= |	
  cut	
  -­‐d 	
  -­‐f	
  2
aws	
  configure	
   	
  profile.summit.aws_access_key_id	
  
aws	
  configure	
   	
  profile.summit.secret_access_key	
  
create-new-user.sh
aws	
  iam	
  create-­‐user	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
= aws	
  iam	
  create-­‐access-­‐key	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
	
  -­‐-­‐query	
   	
  	
  
	
  -­‐-­‐output	
  text
= 	
  |	
  cut	
  -­‐d 	
  -­‐f	
  1
= |	
  cut	
  -­‐d 	
  -­‐f	
  2
aws	
  configure	
   	
  profile.summit.aws_access_key_id	
  
aws	
  configure	
   	
  profile.summit.secret_access_key	
  
create-new-user.sh
aws	
  iam	
  create-­‐user	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
= aws	
  iam	
  create-­‐access-­‐key	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
	
  -­‐-­‐query	
   	
  	
  
	
  -­‐-­‐output	
  text
= 	
  |	
  cut	
  -­‐d 	
  -­‐f	
  1
= |	
  cut	
  -­‐d 	
  -­‐f	
  2
aws	
  configure	
   	
  profile.summit.aws_access_key_id	
  
aws	
  configure	
   	
  profile.summit.secret_access_key	
  
create-new-user.sh
aws	
  iam	
  create-­‐user	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
= aws	
  iam	
  create-­‐access-­‐key	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
	
  -­‐-­‐query	
   	
  	
  
	
  -­‐-­‐output	
  text
= 	
  |	
  cut	
  -­‐d 	
  -­‐f	
  1
= |	
  cut	
  -­‐d 	
  -­‐f	
  2
aws	
  configure	
   	
  profile.summit.aws_access_key_id	
  
aws	
  configure	
   	
  profile.summit.secret_access_key	
  
create-new-user.sh
aws	
  iam	
  create-­‐user	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
= aws	
  iam	
  create-­‐access-­‐key	
  -­‐-­‐user-­‐name	
  summit-­‐user	
  	
  
	
  -­‐-­‐query	
   	
  	
  
	
  -­‐-­‐output	
  text
= 	
  |	
  cut	
  -­‐d 	
  -­‐f	
  1
= |	
  cut	
  -­‐d 	
  -­‐f	
  2
aws	
  configure	
   	
  profile.summit.aws_access_key_id	
  
aws	
  configure	
   	
  profile.summit.secret_access_key	
  
create-new-user.sh
Use the aws	
  configure	
  
suite of subcommands
Query
-­‐-­‐query	
  (string)	
  	
  
	
  
A	
  JMESPath	
  query	
  to	
  use	
  in	
  
filtering	
  the	
  response	
  data.	
  
Implementation Details --query Processing
Implementation Details --query Processing
Implementation Details --query Processing
Implementation Details --query Processing
Implementation Details --query Processing
-­‐-­‐query	
  User[0].[UserName,Path,UserId]	
  
Implementation Details --query Processing
-­‐-­‐query	
  User[0].[UserName,Path,UserId]	
  
Implementation Details --query Processing
Implementation Details --query Processing
http://jmespath.org
A Query Language for JSON
Demo
JMESPATH
http://jmespath.org
A Query Language for JSON
Waiters
Amazon EC2 Instance State Transitions
ec2-instance-running.sh
#!/bin/bash	
  	
  
instance_id=$(aws	
  ec2	
  run-­‐instances	
  -­‐-­‐image-­‐id	
  ami-­‐12345	
  	
  
	
  -­‐-­‐query	
  Reservations[].Instances[].InstanceId	
  	
  
	
  -­‐-­‐output	
  text)	
  
instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  
while	
  [	
  "$instance_state"	
  !=	
  "running"	
  ]	
  	
  
do	
  	
  
	
  sleep	
  1	
  	
  
	
  	
  	
  	
  instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  	
  
done	
  
#!/bin/bash	
  	
  
instance_id=$(aws	
  ec2	
  run-­‐instances	
  -­‐-­‐image-­‐id	
  ami-­‐12345	
  	
  
	
  -­‐-­‐query	
  Reservations[].Instances[].InstanceId	
  	
  
	
  -­‐-­‐output	
  text)	
  
instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  
while	
  [	
  "$instance_state"	
  !=	
  "running"	
  ]	
  	
  
do	
  	
  
	
  sleep	
  1	
  	
  
	
  	
  	
  	
  instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  	
  
done	
  
ec2-instance-running.sh
#!/bin/bash	
  	
  
instance_id=$(aws	
  ec2	
  run-­‐instances	
  -­‐-­‐image-­‐id	
  ami-­‐12345	
  	
  
	
  -­‐-­‐query	
  Reservations[].Instances[].InstanceId	
  	
  
	
  -­‐-­‐output	
  text)	
  
instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  
while	
  [	
  "$instance_state"	
  !=	
  "running"	
  ]	
  	
  
do	
  	
  
	
  sleep	
  1	
  	
  
	
  	
  	
  	
  instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  	
  
done	
  
ec2-instance-running.sh
#!/bin/bash	
  	
  
instance_id=$(aws	
  ec2	
  run-­‐instances	
  -­‐-­‐image-­‐id	
  ami-­‐12345	
  	
  
	
  -­‐-­‐query	
  Reservations[].Instances[].InstanceId	
  	
  
	
  -­‐-­‐output	
  text)	
  
instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  
while	
  [	
  "$instance_state"	
  !=	
  "running"	
  ]	
  	
  
do	
  	
  
	
  sleep	
  1	
  	
  
	
  	
  	
  	
  instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  	
  
done	
  
ec2-instance-running.sh
#!/bin/bash	
  	
  
instance_id=$(aws	
  ec2	
  run-­‐instances	
  -­‐-­‐image-­‐id	
  ami-­‐12345	
  	
  
	
  -­‐-­‐query	
  Reservations[].Instances[].InstanceId	
  	
  
	
  -­‐-­‐output	
  text)	
  
instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  
while	
  [	
  "$instance_state"	
  !=	
  "running"	
  ]	
  	
  
do	
  	
  
	
  sleep	
  1	
  	
  
	
  	
  	
  	
  instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  	
  
done	
  
ec2-instance-running.sh
#!/bin/bash	
  	
  
instance_id=$(aws	
  ec2	
  run-­‐instances	
  -­‐-­‐image-­‐id	
  ami-­‐12345	
  	
  
	
  -­‐-­‐query	
  Reservations[].Instances[].InstanceId	
  	
  
	
  -­‐-­‐output	
  text)	
  
instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  
while	
  [	
  "$instance_state"	
  !=	
  "running"	
  ]	
  	
  
do	
  	
  
	
  sleep	
  1	
  	
  
	
  	
  	
  	
  instance_state=$(aws	
  ec2	
  describe-­‐instances	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  	
  
	
  -­‐-­‐query	
  'Reservations[].Instances[].State.Name')	
  	
  
done	
  
ec2-instance-running.sh
• No timeouts
• Failure states
• Hand-written code
ec2-waiters.sh
instance_id=$(aws	
  ec2	
  run-­‐instances	
  -­‐-­‐image-­‐id	
  ami-­‐12345	
  	
  
	
  -­‐-­‐query	
  Reservations[].Instances[].InstanceId	
  	
  
	
  -­‐-­‐output	
  text)	
  
aws	
  ec2	
  wait	
  instance-­‐running	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  
instance_id=$(aws	
  ec2	
  run-­‐instances	
  -­‐-­‐image-­‐id	
  ami-­‐12345	
  	
  
	
  -­‐-­‐query	
  Reservations[].Instances[].InstanceId	
  	
  
	
  -­‐-­‐output	
  text)	
  
aws	
  ec2	
  wait	
  instance-­‐running	
  -­‐-­‐instance-­‐ids	
  $instance_id	
  
ec2-waiters.sh
subcommand
Describe-instances options
waiter name
Advanced Scenarios
Looking at advanced AWS CLI features
Templates
The AWS CLI is data driven
Implementation Details JSON Models
Implementation Details JSON Models
Implementation Details JSON Models
aws	
  ec2	
  run-­‐instances	
  -­‐-­‐cli-­‐input-­‐json	
  file://arguments.json	
  
aws	
  ec2	
  run-­‐instances	
  -­‐-­‐generate-­‐cli-­‐skeleton	
  
Demo
Creating and using JSON templates
Credential Providers
Credential Providers
Credential Providers
Credential Providers
Credential Providers
Credential Providers
Delegate access to AWS resources using
AWS Identity and Access Management (IAM) roles
IAM Roles
Production Development
IAM Roles
Production Development
v
IAM Roles
Production Development
Role
Policy
Trust Policy
role
IAM Roles
Production Development
AssumeRole
AWS Security
Token Service
role
IAM Roles
Production Development
AssumeRole
AWS Security
Token Service
role
token
IAM Roles
Production Development
AssumeRole
AWS Security
Token Service
role
token
aws	
  configure	
  set	
  profile.prodrole.source_profile	
  dev	
  
aws	
  configure	
  set	
  profile.prodrole.role_arn	
  arn:aws:iam…	
  
configure-role.sh
~/.aws/credentials ~/.aws/config
[dev]
aws_access_key_id = foo
aws_secret_access_key = bar
[profile prodrole]
role_arn = arn:aws:iam.......
source_profile = dev
~/.aws/credentials ~/.aws/config
[dev]
aws_access_key_id = foo
aws_secret_access_key = bar
[profile prodrole]
role_arn = arn:aws:iam
source_profile = dev
Demo
Using roles with the AWS CLI
Amazon S3 Streaming
aws	
  s3	
  cp
We want to avoid disk
aws	
  s3	
  cp	
  –	
  s3://bucket/key
aws	
  s3	
  cp	
  s3://bucket/key	
  -­‐
Compress
aws	
  s3	
  cp	
  s3://bucket/key	
  -­‐	
  |	
  	
  
bzip2	
  -­‐-­‐best	
  |	
  	
  	
  
aws	
  s3	
  cp	
  -­‐	
  s3://bucket/key.bz2
Summary
Wrapping Up
•  Configuration
•  Waiters
•  Query
•  Templates
•  Credential Providers
•  Amazon S3 Streaming
For More Information
https://github.com/aws/aws-cli
http://docs.aws.amazon.com/cli/latest/userguide/
https://forums.aws.amazon.com/forum.jspa?forumID=150
http://docs.aws.amazon.com/cli/latest/reference/
http://jmespath.org/
LONDON
Martin Elwin
elwinm@amazon.com

More Related Content

What's hot

Docker and Kubernetes 101 workshop
Docker and Kubernetes 101 workshopDocker and Kubernetes 101 workshop
Docker and Kubernetes 101 workshop
Sathish VJ
 
Docker 사내교육 자료
Docker 사내교육 자료Docker 사내교육 자료
Docker 사내교육 자료
Juneyoung Oh
 
(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS
Amazon Web Services
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
ejlp12
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
Robert Reiz
 
K8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSK8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKS
Amazon Web Services
 
What Is DevOps? | Introduction To DevOps | DevOps Tools | DevOps Tutorial | D...
What Is DevOps? | Introduction To DevOps | DevOps Tools | DevOps Tutorial | D...What Is DevOps? | Introduction To DevOps | DevOps Tools | DevOps Tutorial | D...
What Is DevOps? | Introduction To DevOps | DevOps Tools | DevOps Tutorial | D...
Edureka!
 
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon Web Services Korea
 
(DVO315) Log, Monitor and Analyze your IT with Amazon CloudWatch
(DVO315) Log, Monitor and Analyze your IT with Amazon CloudWatch(DVO315) Log, Monitor and Analyze your IT with Amazon CloudWatch
(DVO315) Log, Monitor and Analyze your IT with Amazon CloudWatch
Amazon Web Services
 
Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17
Ryan Jarvinen
 
Azure DevOps
Azure DevOpsAzure DevOps
Amazon Virtual Private Cloud (VPC): Networking Fundamentals and Connectivity ...
Amazon Virtual Private Cloud (VPC): Networking Fundamentals and Connectivity ...Amazon Virtual Private Cloud (VPC): Networking Fundamentals and Connectivity ...
Amazon Virtual Private Cloud (VPC): Networking Fundamentals and Connectivity ...
Amazon Web Services
 
VMware Tanzu Kubernetes Connect
VMware Tanzu Kubernetes ConnectVMware Tanzu Kubernetes Connect
VMware Tanzu Kubernetes Connect
VMware Tanzu
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
Simplilearn
 
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Amazon Web Services
 
AWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar Series
Amazon Web Services
 
Advanced GitHub Enterprise Administration
Advanced GitHub Enterprise AdministrationAdvanced GitHub Enterprise Administration
Advanced GitHub Enterprise Administration
Lars Schneider
 
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar SeriesContinuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
Amazon Web Services
 
Azure DevOps in Action
Azure DevOps in ActionAzure DevOps in Action
Azure DevOps in Action
Callon Campbell
 
Docker Basics
Docker BasicsDocker Basics
Docker Basics
DuckDuckGo
 

What's hot (20)

Docker and Kubernetes 101 workshop
Docker and Kubernetes 101 workshopDocker and Kubernetes 101 workshop
Docker and Kubernetes 101 workshop
 
Docker 사내교육 자료
Docker 사내교육 자료Docker 사내교육 자료
Docker 사내교육 자료
 
(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
K8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKSK8s on AWS: Introducing Amazon EKS
K8s on AWS: Introducing Amazon EKS
 
What Is DevOps? | Introduction To DevOps | DevOps Tools | DevOps Tutorial | D...
What Is DevOps? | Introduction To DevOps | DevOps Tools | DevOps Tutorial | D...What Is DevOps? | Introduction To DevOps | DevOps Tools | DevOps Tutorial | D...
What Is DevOps? | Introduction To DevOps | DevOps Tools | DevOps Tutorial | D...
 
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
Amazon EKS를 위한 AWS CDK와 CDK8s 활용법 - 염지원, 김광영 AWS 솔루션즈 아키텍트 :: AWS Summit Seou...
 
(DVO315) Log, Monitor and Analyze your IT with Amazon CloudWatch
(DVO315) Log, Monitor and Analyze your IT with Amazon CloudWatch(DVO315) Log, Monitor and Analyze your IT with Amazon CloudWatch
(DVO315) Log, Monitor and Analyze your IT with Amazon CloudWatch
 
Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
Amazon Virtual Private Cloud (VPC): Networking Fundamentals and Connectivity ...
Amazon Virtual Private Cloud (VPC): Networking Fundamentals and Connectivity ...Amazon Virtual Private Cloud (VPC): Networking Fundamentals and Connectivity ...
Amazon Virtual Private Cloud (VPC): Networking Fundamentals and Connectivity ...
 
VMware Tanzu Kubernetes Connect
VMware Tanzu Kubernetes ConnectVMware Tanzu Kubernetes Connect
VMware Tanzu Kubernetes Connect
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
 
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
Monitor All Your Things: Amazon CloudWatch in Action with BBC (DEV302) - AWS ...
 
AWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar SeriesAWS Infrastructure as Code - September 2016 Webinar Series
AWS Infrastructure as Code - September 2016 Webinar Series
 
Advanced GitHub Enterprise Administration
Advanced GitHub Enterprise AdministrationAdvanced GitHub Enterprise Administration
Advanced GitHub Enterprise Administration
 
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar SeriesContinuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
Continuous Delivery with AWS Lambda - AWS April 2016 Webinar Series
 
Azure DevOps in Action
Azure DevOps in ActionAzure DevOps in Action
Azure DevOps in Action
 
Docker Basics
Docker BasicsDocker Basics
Docker Basics
 

Viewers also liked

(DEV301) Advanced Usage of the AWS CLI | AWS re:Invent 2014
(DEV301) Advanced Usage of the AWS CLI | AWS re:Invent 2014(DEV301) Advanced Usage of the AWS CLI | AWS re:Invent 2014
(DEV301) Advanced Usage of the AWS CLI | AWS re:Invent 2014
Amazon Web Services
 
Deep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceDeep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line Interface
Amazon Web Services
 
Becoming a Command Line Expert with the AWS CLI (TLS304) | AWS re:Invent 2013
Becoming a Command Line Expert with the AWS CLI (TLS304) | AWS re:Invent 2013Becoming a Command Line Expert with the AWS CLI (TLS304) | AWS re:Invent 2013
Becoming a Command Line Expert with the AWS CLI (TLS304) | AWS re:Invent 2013
Amazon Web Services
 
AWS re:Invent 2016: Simplifying Microsoft Architectures with AWS services (WI...
AWS re:Invent 2016: Simplifying Microsoft Architectures with AWS services (WI...AWS re:Invent 2016: Simplifying Microsoft Architectures with AWS services (WI...
AWS re:Invent 2016: Simplifying Microsoft Architectures with AWS services (WI...
Amazon Web Services
 
Getting Started with AWS Enterprise Applications: WorkSpaces, WorkMail, WorkDocs
Getting Started with AWS Enterprise Applications: WorkSpaces, WorkMail, WorkDocsGetting Started with AWS Enterprise Applications: WorkSpaces, WorkMail, WorkDocs
Getting Started with AWS Enterprise Applications: WorkSpaces, WorkMail, WorkDocs
Amazon Web Services
 
Sweet Inspiration - KateQuitSugar.com
Sweet Inspiration - KateQuitSugar.comSweet Inspiration - KateQuitSugar.com
Sweet Inspiration - KateQuitSugar.com
KateQuitSugar
 
Developing sites with Magnolia 4 / STK
Developing sites with Magnolia 4 / STKDeveloping sites with Magnolia 4 / STK
Developing sites with Magnolia 4 / STK
guest0afb3
 
Cygnet Magnolia CMS Solutions
Cygnet Magnolia CMS SolutionsCygnet Magnolia CMS Solutions
Cygnet Magnolia CMS SolutionsCygnet Infotech
 
Drupal By Design - Business Case for Drupal
Drupal By Design - Business Case for DrupalDrupal By Design - Business Case for Drupal
Drupal By Design - Business Case for Drupal
Glenn Lim
 
AWS CodeDeploy Getting Started
AWS CodeDeploy Getting StartedAWS CodeDeploy Getting Started
AWS CodeDeploy Getting Started
Amazon Web Services
 
Integration possibilities with Magnolia CMS
Integration possibilities with Magnolia CMSIntegration possibilities with Magnolia CMS
Integration possibilities with Magnolia CMS
hpesojg
 
Amazon Workspaces Master Class
Amazon Workspaces Master ClassAmazon Workspaces Master Class
Amazon Workspaces Master Class
Richard Harvey
 
Amazon WorkSpaces - Aadvanced Topics & Application Delivery
Amazon WorkSpaces - Aadvanced Topics & Application DeliveryAmazon WorkSpaces - Aadvanced Topics & Application Delivery
Amazon WorkSpaces - Aadvanced Topics & Application Delivery
Amazon Web Services
 
VPC Design for Enterprise Connectivity
VPC Design for Enterprise ConnectivityVPC Design for Enterprise Connectivity
VPC Design for Enterprise Connectivity
Amazon Web Services
 
(NET301) New Capabilities for Amazon Virtual Private Cloud
(NET301) New Capabilities for Amazon Virtual Private Cloud(NET301) New Capabilities for Amazon Virtual Private Cloud
(NET301) New Capabilities for Amazon Virtual Private Cloud
Amazon Web Services
 
AWS Lambda를 이용한 CI/CD 기법
AWS Lambda를 이용한 CI/CD 기법AWS Lambda를 이용한 CI/CD 기법
AWS Lambda를 이용한 CI/CD 기법
Jesang Yoon
 
Amazon AWS Workspace Howto
Amazon AWS Workspace HowtoAmazon AWS Workspace Howto
Amazon AWS Workspace Howto
mailbhargav
 
Deploying Amazon WorkSpaces at Scale with Johnson & Johnson
Deploying Amazon WorkSpaces at Scale with Johnson & JohnsonDeploying Amazon WorkSpaces at Scale with Johnson & Johnson
Deploying Amazon WorkSpaces at Scale with Johnson & Johnson
Amazon Web Services
 
Masterclass Advanced Usage of the AWS CLI
Masterclass Advanced Usage of the AWS CLIMasterclass Advanced Usage of the AWS CLI
Masterclass Advanced Usage of the AWS CLI
Danilo Poccia
 
AWS Directory Service and Hybrid Strategy | AWS Public Sector Summit 2016
AWS Directory Service and Hybrid Strategy | AWS Public Sector Summit 2016AWS Directory Service and Hybrid Strategy | AWS Public Sector Summit 2016
AWS Directory Service and Hybrid Strategy | AWS Public Sector Summit 2016
Amazon Web Services
 

Viewers also liked (20)

(DEV301) Advanced Usage of the AWS CLI | AWS re:Invent 2014
(DEV301) Advanced Usage of the AWS CLI | AWS re:Invent 2014(DEV301) Advanced Usage of the AWS CLI | AWS re:Invent 2014
(DEV301) Advanced Usage of the AWS CLI | AWS re:Invent 2014
 
Deep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceDeep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line Interface
 
Becoming a Command Line Expert with the AWS CLI (TLS304) | AWS re:Invent 2013
Becoming a Command Line Expert with the AWS CLI (TLS304) | AWS re:Invent 2013Becoming a Command Line Expert with the AWS CLI (TLS304) | AWS re:Invent 2013
Becoming a Command Line Expert with the AWS CLI (TLS304) | AWS re:Invent 2013
 
AWS re:Invent 2016: Simplifying Microsoft Architectures with AWS services (WI...
AWS re:Invent 2016: Simplifying Microsoft Architectures with AWS services (WI...AWS re:Invent 2016: Simplifying Microsoft Architectures with AWS services (WI...
AWS re:Invent 2016: Simplifying Microsoft Architectures with AWS services (WI...
 
Getting Started with AWS Enterprise Applications: WorkSpaces, WorkMail, WorkDocs
Getting Started with AWS Enterprise Applications: WorkSpaces, WorkMail, WorkDocsGetting Started with AWS Enterprise Applications: WorkSpaces, WorkMail, WorkDocs
Getting Started with AWS Enterprise Applications: WorkSpaces, WorkMail, WorkDocs
 
Sweet Inspiration - KateQuitSugar.com
Sweet Inspiration - KateQuitSugar.comSweet Inspiration - KateQuitSugar.com
Sweet Inspiration - KateQuitSugar.com
 
Developing sites with Magnolia 4 / STK
Developing sites with Magnolia 4 / STKDeveloping sites with Magnolia 4 / STK
Developing sites with Magnolia 4 / STK
 
Cygnet Magnolia CMS Solutions
Cygnet Magnolia CMS SolutionsCygnet Magnolia CMS Solutions
Cygnet Magnolia CMS Solutions
 
Drupal By Design - Business Case for Drupal
Drupal By Design - Business Case for DrupalDrupal By Design - Business Case for Drupal
Drupal By Design - Business Case for Drupal
 
AWS CodeDeploy Getting Started
AWS CodeDeploy Getting StartedAWS CodeDeploy Getting Started
AWS CodeDeploy Getting Started
 
Integration possibilities with Magnolia CMS
Integration possibilities with Magnolia CMSIntegration possibilities with Magnolia CMS
Integration possibilities with Magnolia CMS
 
Amazon Workspaces Master Class
Amazon Workspaces Master ClassAmazon Workspaces Master Class
Amazon Workspaces Master Class
 
Amazon WorkSpaces - Aadvanced Topics & Application Delivery
Amazon WorkSpaces - Aadvanced Topics & Application DeliveryAmazon WorkSpaces - Aadvanced Topics & Application Delivery
Amazon WorkSpaces - Aadvanced Topics & Application Delivery
 
VPC Design for Enterprise Connectivity
VPC Design for Enterprise ConnectivityVPC Design for Enterprise Connectivity
VPC Design for Enterprise Connectivity
 
(NET301) New Capabilities for Amazon Virtual Private Cloud
(NET301) New Capabilities for Amazon Virtual Private Cloud(NET301) New Capabilities for Amazon Virtual Private Cloud
(NET301) New Capabilities for Amazon Virtual Private Cloud
 
AWS Lambda를 이용한 CI/CD 기법
AWS Lambda를 이용한 CI/CD 기법AWS Lambda를 이용한 CI/CD 기법
AWS Lambda를 이용한 CI/CD 기법
 
Amazon AWS Workspace Howto
Amazon AWS Workspace HowtoAmazon AWS Workspace Howto
Amazon AWS Workspace Howto
 
Deploying Amazon WorkSpaces at Scale with Johnson & Johnson
Deploying Amazon WorkSpaces at Scale with Johnson & JohnsonDeploying Amazon WorkSpaces at Scale with Johnson & Johnson
Deploying Amazon WorkSpaces at Scale with Johnson & Johnson
 
Masterclass Advanced Usage of the AWS CLI
Masterclass Advanced Usage of the AWS CLIMasterclass Advanced Usage of the AWS CLI
Masterclass Advanced Usage of the AWS CLI
 
AWS Directory Service and Hybrid Strategy | AWS Public Sector Summit 2016
AWS Directory Service and Hybrid Strategy | AWS Public Sector Summit 2016AWS Directory Service and Hybrid Strategy | AWS Public Sector Summit 2016
AWS Directory Service and Hybrid Strategy | AWS Public Sector Summit 2016
 

Similar to Deep Dive - Advanced Usage of the AWS CLI

CLI.pptx
CLI.pptxCLI.pptx
CLI.pptx
Ganesh Bhosale
 
Deep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceDeep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line Interface
Amazon Web Services
 
스크립트로 Aws 서비스 자동화 하기 20161121 slideshare
스크립트로 Aws 서비스 자동화 하기 20161121 slideshare스크립트로 Aws 서비스 자동화 하기 20161121 slideshare
스크립트로 Aws 서비스 자동화 하기 20161121 slideshare
In Chul Shin
 
The Best of Both Worlds: Implementing Hybrid IT with AWS (ENT218) | AWS re:In...
The Best of Both Worlds: Implementing Hybrid IT with AWS (ENT218) | AWS re:In...The Best of Both Worlds: Implementing Hybrid IT with AWS (ENT218) | AWS re:In...
The Best of Both Worlds: Implementing Hybrid IT with AWS (ENT218) | AWS re:In...
Amazon Web Services
 
DEV323_Introduction to the AWS CLI
DEV323_Introduction to the AWS CLIDEV323_Introduction to the AWS CLI
DEV323_Introduction to the AWS CLI
Amazon Web Services
 
Monkey man
Monkey manMonkey man
Monkey man
ShapeBlue
 
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
Amazon Web Services
 
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websitesBurn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
Lindsay Holmwood
 
NodeConf OneShot Budapest — Production Ready Node.js by Nuno Job
NodeConf OneShot Budapest — Production Ready Node.js by Nuno JobNodeConf OneShot Budapest — Production Ready Node.js by Nuno Job
NodeConf OneShot Budapest — Production Ready Node.js by Nuno Job
Nuno Job
 
An Introduction to Windows PowerShell
An Introduction to Windows PowerShellAn Introduction to Windows PowerShell
An Introduction to Windows PowerShell
Dale Lane
 
MySQL SQL Tutorial
MySQL SQL TutorialMySQL SQL Tutorial
MySQL SQL Tutorial
Chien Chung Shen
 
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
QCloudMentor
 
Deep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interfaceDeep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interface
John Varghese
 
Meetup bangalore aug31st2019
Meetup bangalore aug31st2019Meetup bangalore aug31st2019
Meetup bangalore aug31st2019
D.Rajesh Kumar
 
AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...
AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...
AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...
Cobus Bernard
 
Curscatalyst
CurscatalystCurscatalyst
CurscatalystKar Juan
 
Perl web frameworks
Perl web frameworksPerl web frameworks
Perl web frameworksdiego_k
 
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine YardHow I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
SV Ruby on Rails Meetup
 
Simple Ways To Be A Better Programmer (OSCON 2007)
Simple Ways To Be A Better Programmer (OSCON 2007)Simple Ways To Be A Better Programmer (OSCON 2007)
Simple Ways To Be A Better Programmer (OSCON 2007)
Michael Schwern
 
Basic Knowledge on MySql Replication
Basic Knowledge on MySql ReplicationBasic Knowledge on MySql Replication
Basic Knowledge on MySql Replication
Tasawr Interactive
 

Similar to Deep Dive - Advanced Usage of the AWS CLI (20)

CLI.pptx
CLI.pptxCLI.pptx
CLI.pptx
 
Deep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceDeep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line Interface
 
스크립트로 Aws 서비스 자동화 하기 20161121 slideshare
스크립트로 Aws 서비스 자동화 하기 20161121 slideshare스크립트로 Aws 서비스 자동화 하기 20161121 slideshare
스크립트로 Aws 서비스 자동화 하기 20161121 slideshare
 
The Best of Both Worlds: Implementing Hybrid IT with AWS (ENT218) | AWS re:In...
The Best of Both Worlds: Implementing Hybrid IT with AWS (ENT218) | AWS re:In...The Best of Both Worlds: Implementing Hybrid IT with AWS (ENT218) | AWS re:In...
The Best of Both Worlds: Implementing Hybrid IT with AWS (ENT218) | AWS re:In...
 
DEV323_Introduction to the AWS CLI
DEV323_Introduction to the AWS CLIDEV323_Introduction to the AWS CLI
DEV323_Introduction to the AWS CLI
 
Monkey man
Monkey manMonkey man
Monkey man
 
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
AWS CLI: 2017 and Beyond - DEV307 - re:Invent 2017
 
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websitesBurn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
 
NodeConf OneShot Budapest — Production Ready Node.js by Nuno Job
NodeConf OneShot Budapest — Production Ready Node.js by Nuno JobNodeConf OneShot Budapest — Production Ready Node.js by Nuno Job
NodeConf OneShot Budapest — Production Ready Node.js by Nuno Job
 
An Introduction to Windows PowerShell
An Introduction to Windows PowerShellAn Introduction to Windows PowerShell
An Introduction to Windows PowerShell
 
MySQL SQL Tutorial
MySQL SQL TutorialMySQL SQL Tutorial
MySQL SQL Tutorial
 
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
AWS Study Group - Chapter 03 - Elasticity and Scalability Concepts [Solution ...
 
Deep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interfaceDeep Dive into AWS CLI - the command line interface
Deep Dive into AWS CLI - the command line interface
 
Meetup bangalore aug31st2019
Meetup bangalore aug31st2019Meetup bangalore aug31st2019
Meetup bangalore aug31st2019
 
AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...
AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...
AWS SSA Webinar 30 - Getting Started with AWS - Infrastructure as Code - Terr...
 
Curscatalyst
CurscatalystCurscatalyst
Curscatalyst
 
Perl web frameworks
Perl web frameworksPerl web frameworks
Perl web frameworks
 
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine YardHow I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
 
Simple Ways To Be A Better Programmer (OSCON 2007)
Simple Ways To Be A Better Programmer (OSCON 2007)Simple Ways To Be A Better Programmer (OSCON 2007)
Simple Ways To Be A Better Programmer (OSCON 2007)
 
Basic Knowledge on MySql Replication
Basic Knowledge on MySql ReplicationBasic Knowledge on MySql Replication
Basic Knowledge on MySql Replication
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Recently uploaded

Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 

Recently uploaded (20)

Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 

Deep Dive - Advanced Usage of the AWS CLI

  • 1. ©2015,  Amazon  Web  Services,  Inc.  or  its  affiliates.  All  rights  reserved Deep Dive: AWS Command Line Interface Martin Elwin
  • 2. CRASH COURSE Intro to the AWS CLI FOUNDATION ADVANCED SCENARIOS Exploring Key Functionality Looking at Advanced CLI Features
  • 3. Crash Course Intro to the AWS CLI
  • 4. AWS Command Line Interface Unified tool to manage your AWS services
  • 5. MSI (Windows) Bundled (cross platform) pip (cross platform)
  • 7. $  aws  ec2  describe-­‐instances   Service (command) Operation (subcommand)
  • 8. $  aws  iam  list-­‐access-­‐keys   Service (command) Operation (subcommand)
  • 9. {        "Places":  [                  {                            "City":  "Seattle",                    "State":  "WA"          },          {              "City":  "Las  Vegas",            "State":  "NV"          }        ]     }     --output JSON
  • 10. PLACES    Seattle      WA   PLACES    Las  Vegas  NV   --output text
  • 11. -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐     |      SomeOperationName        |     +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+     ||                  Places              ||     |+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|     ||  City              |  State      ||     |+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|     ||  Seattle        |  WA            ||     ||  Las  Vegas    |  NV            ||     |+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|     --output table
  • 12. All Outputs JSON Text PLACES    Seattle        WA   PLACES    Las  Vegas    NV   Table -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐     |        SomeOperationName      |     +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+     ||                  Places              ||     |+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|     ||  City              |  State      ||     |+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|     ||  Seattle        |  WA            ||     ||  Las  Vegas    |  NV            ||     |+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+|     {        "Places":  [                  {                            "City":  "Seattle",                    "State":  "WA"      },      {        "City":  ”Las  Vegas",      "State":  "NV"      }          ]     }      
  • 17. aws  configure     AWS  Access  Key  ID  [**ABCD]:     AWS  Secret  Access  Key  [****************EFGH]:     Default  region  name  [us-­‐west-­‐2]:     Default  output  format  [None]:      
  • 19. list - list common configuration sources get  -­‐  get  the  value  of  a  single  config  var   set  -­‐  set  the  value  of  a  single  config  var   aws  configure  <subcommand>    
  • 20. aws  configure  get  region    
  • 21. aws  configure  set  region  eu-­‐west-­‐1
  • 22. A profile is a group of configuration values
  • 24. aws  configure  set  profile.prod.region  eu-­‐west-­‐1
  • 25. Configuration Files ~/.aws/credentials   ~/.aws/config •  Supported by all AWS SDKs •  Only contains credentials •  Used only by the CLI •  Can contain credentials (but not the default behavior)
  • 27. aws configure set profile.prod.aws_access_key_id foo ~/.aws/credentials ~/.aws/config
  • 28. aws configure set profile.prod.aws_access_key_id foo ~/.aws/credentials ~/.aws/config [prod] aws_access_key_id = foo
  • 29. aws configure set profile.prod.aws_secret_access_key bar ~/.aws/credentials ~/.aws/config [prod] aws_access_key_id = foo
  • 30. aws configure set profile.prod.aws_secret_access_key bar ~/.aws/credentials ~/.aws/config [prod] aws_access_key_id = foo aws_secret_access_key = bar
  • 31. aws configure set profile.prod.region eu­west­1 ~/.aws/credentials ~/.aws/config [prod] aws_access_key_id = foo aws_secret_access_key = bar
  • 32. aws configure set profile.prod.region eu­west­1 ~/.aws/credentials ~/.aws/config [prod] aws_access_key_id = foo aws_secret_access_key = bar [profile prod] region = eu-west-1
  • 33. aws configure set profile.prod.output text ~/.aws/credentials ~/.aws/config [prod] aws_access_key_id = foo aws_secret_access_key = bar [profile prod] region = eu-west-1
  • 34. aws configure set profile.prod.output text ~/.aws/credentials ~/.aws/config [prod] aws_access_key_id = foo aws_secret_access_key = bar [profile prod] region = eu-west-1 output = text
  • 35. create-new-user.sh aws  iam  create-­‐user  -­‐-­‐user-­‐name  summit-­‐user     = aws  iam  create-­‐access-­‐key  -­‐-­‐user-­‐name  summit-­‐user      -­‐-­‐query        -­‐-­‐output  text =  |  cut  -­‐d  -­‐f  1 = |  cut  -­‐d  -­‐f  2 aws  configure    profile.summit.aws_access_key_id   aws  configure    profile.summit.secret_access_key  
  • 36. aws  iam  create-­‐user  -­‐-­‐user-­‐name  summit-­‐user     = aws  iam  create-­‐access-­‐key  -­‐-­‐user-­‐name  summit-­‐user      -­‐-­‐query        -­‐-­‐output  text =  |  cut  -­‐d  -­‐f  1 = |  cut  -­‐d  -­‐f  2 aws  configure    profile.summit.aws_access_key_id   aws  configure    profile.summit.secret_access_key   create-new-user.sh
  • 37. aws  iam  create-­‐user  -­‐-­‐user-­‐name  summit-­‐user     = aws  iam  create-­‐access-­‐key  -­‐-­‐user-­‐name  summit-­‐user      -­‐-­‐query        -­‐-­‐output  text =  |  cut  -­‐d  -­‐f  1 = |  cut  -­‐d  -­‐f  2 aws  configure    profile.summit.aws_access_key_id   aws  configure    profile.summit.secret_access_key   create-new-user.sh
  • 38. aws  iam  create-­‐user  -­‐-­‐user-­‐name  summit-­‐user     = aws  iam  create-­‐access-­‐key  -­‐-­‐user-­‐name  summit-­‐user      -­‐-­‐query        -­‐-­‐output  text =  |  cut  -­‐d  -­‐f  1 = |  cut  -­‐d  -­‐f  2 aws  configure    profile.summit.aws_access_key_id   aws  configure    profile.summit.secret_access_key   create-new-user.sh
  • 39. aws  iam  create-­‐user  -­‐-­‐user-­‐name  summit-­‐user     = aws  iam  create-­‐access-­‐key  -­‐-­‐user-­‐name  summit-­‐user      -­‐-­‐query        -­‐-­‐output  text =  |  cut  -­‐d  -­‐f  1 = |  cut  -­‐d  -­‐f  2 aws  configure    profile.summit.aws_access_key_id   aws  configure    profile.summit.secret_access_key   create-new-user.sh
  • 40. aws  iam  create-­‐user  -­‐-­‐user-­‐name  summit-­‐user     = aws  iam  create-­‐access-­‐key  -­‐-­‐user-­‐name  summit-­‐user      -­‐-­‐query        -­‐-­‐output  text =  |  cut  -­‐d  -­‐f  1 = |  cut  -­‐d  -­‐f  2 aws  configure    profile.summit.aws_access_key_id   aws  configure    profile.summit.secret_access_key   create-new-user.sh
  • 41. Use the aws  configure   suite of subcommands
  • 42. Query
  • 43. -­‐-­‐query  (string)       A  JMESPath  query  to  use  in   filtering  the  response  data.  
  • 48. Implementation Details --query Processing -­‐-­‐query  User[0].[UserName,Path,UserId]  
  • 49. Implementation Details --query Processing -­‐-­‐query  User[0].[UserName,Path,UserId]  
  • 56. Amazon EC2 Instance State Transitions
  • 57. ec2-instance-running.sh #!/bin/bash     instance_id=$(aws  ec2  run-­‐instances  -­‐-­‐image-­‐id  ami-­‐12345      -­‐-­‐query  Reservations[].Instances[].InstanceId      -­‐-­‐output  text)   instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')   while  [  "$instance_state"  !=  "running"  ]     do      sleep  1            instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')     done  
  • 58. #!/bin/bash     instance_id=$(aws  ec2  run-­‐instances  -­‐-­‐image-­‐id  ami-­‐12345      -­‐-­‐query  Reservations[].Instances[].InstanceId      -­‐-­‐output  text)   instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')   while  [  "$instance_state"  !=  "running"  ]     do      sleep  1            instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')     done   ec2-instance-running.sh
  • 59. #!/bin/bash     instance_id=$(aws  ec2  run-­‐instances  -­‐-­‐image-­‐id  ami-­‐12345      -­‐-­‐query  Reservations[].Instances[].InstanceId      -­‐-­‐output  text)   instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')   while  [  "$instance_state"  !=  "running"  ]     do      sleep  1            instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')     done   ec2-instance-running.sh
  • 60. #!/bin/bash     instance_id=$(aws  ec2  run-­‐instances  -­‐-­‐image-­‐id  ami-­‐12345      -­‐-­‐query  Reservations[].Instances[].InstanceId      -­‐-­‐output  text)   instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')   while  [  "$instance_state"  !=  "running"  ]     do      sleep  1            instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')     done   ec2-instance-running.sh
  • 61. #!/bin/bash     instance_id=$(aws  ec2  run-­‐instances  -­‐-­‐image-­‐id  ami-­‐12345      -­‐-­‐query  Reservations[].Instances[].InstanceId      -­‐-­‐output  text)   instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')   while  [  "$instance_state"  !=  "running"  ]     do      sleep  1            instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')     done   ec2-instance-running.sh
  • 62. #!/bin/bash     instance_id=$(aws  ec2  run-­‐instances  -­‐-­‐image-­‐id  ami-­‐12345      -­‐-­‐query  Reservations[].Instances[].InstanceId      -­‐-­‐output  text)   instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')   while  [  "$instance_state"  !=  "running"  ]     do      sleep  1            instance_state=$(aws  ec2  describe-­‐instances  -­‐-­‐instance-­‐ids  $instance_id      -­‐-­‐query  'Reservations[].Instances[].State.Name')     done   ec2-instance-running.sh • No timeouts • Failure states • Hand-written code
  • 63. ec2-waiters.sh instance_id=$(aws  ec2  run-­‐instances  -­‐-­‐image-­‐id  ami-­‐12345      -­‐-­‐query  Reservations[].Instances[].InstanceId      -­‐-­‐output  text)   aws  ec2  wait  instance-­‐running  -­‐-­‐instance-­‐ids  $instance_id  
  • 64. instance_id=$(aws  ec2  run-­‐instances  -­‐-­‐image-­‐id  ami-­‐12345      -­‐-­‐query  Reservations[].Instances[].InstanceId      -­‐-­‐output  text)   aws  ec2  wait  instance-­‐running  -­‐-­‐instance-­‐ids  $instance_id   ec2-waiters.sh subcommand Describe-instances options waiter name
  • 65. Advanced Scenarios Looking at advanced AWS CLI features
  • 67. The AWS CLI is data driven
  • 71. aws  ec2  run-­‐instances  -­‐-­‐cli-­‐input-­‐json  file://arguments.json  
  • 72. aws  ec2  run-­‐instances  -­‐-­‐generate-­‐cli-­‐skeleton  
  • 73. Demo Creating and using JSON templates
  • 80. Delegate access to AWS resources using AWS Identity and Access Management (IAM) roles
  • 84. IAM Roles Production Development AssumeRole AWS Security Token Service role
  • 85. IAM Roles Production Development AssumeRole AWS Security Token Service role token
  • 86. IAM Roles Production Development AssumeRole AWS Security Token Service role token
  • 87. aws  configure  set  profile.prodrole.source_profile  dev   aws  configure  set  profile.prodrole.role_arn  arn:aws:iam…   configure-role.sh
  • 88. ~/.aws/credentials ~/.aws/config [dev] aws_access_key_id = foo aws_secret_access_key = bar [profile prodrole] role_arn = arn:aws:iam....... source_profile = dev
  • 89. ~/.aws/credentials ~/.aws/config [dev] aws_access_key_id = foo aws_secret_access_key = bar [profile prodrole] role_arn = arn:aws:iam source_profile = dev
  • 90. Demo Using roles with the AWS CLI
  • 93. We want to avoid disk
  • 94. aws  s3  cp  –  s3://bucket/key
  • 95. aws  s3  cp  s3://bucket/key  -­‐
  • 97. aws  s3  cp  s3://bucket/key  -­‐  |     bzip2  -­‐-­‐best  |       aws  s3  cp  -­‐  s3://bucket/key.bz2
  • 99. Wrapping Up •  Configuration •  Waiters •  Query •  Templates •  Credential Providers •  Amazon S3 Streaming