SlideShare a Scribd company logo
1 of 101
Download to read offline
©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

(SEC315) AWS Directory Service Deep Dive
(SEC315) AWS Directory Service Deep Dive (SEC315) AWS Directory Service Deep Dive
(SEC315) AWS Directory Service Deep Dive Amazon Web Services
 
Aws organizations
Aws organizationsAws organizations
Aws organizationsOlaf Conijn
 
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...Edureka!
 
AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018Amazon Web Services
 
AWS Black Belt Online Seminar AWS Key Management Service (KMS)
AWS Black Belt Online Seminar AWS Key Management Service (KMS) AWS Black Belt Online Seminar AWS Key Management Service (KMS)
AWS Black Belt Online Seminar AWS Key Management Service (KMS) Amazon Web Services Japan
 
컨테이너 및 서버리스를 위한 효율적인 CI/CD 아키텍처 구성하기 - 현창훈 데브옵스 엔지니어, Flex / 송주영 데브옵스 엔지니어, W...
컨테이너 및 서버리스를 위한 효율적인 CI/CD 아키텍처 구성하기 - 현창훈 데브옵스 엔지니어, Flex / 송주영 데브옵스 엔지니어, W...컨테이너 및 서버리스를 위한 효율적인 CI/CD 아키텍처 구성하기 - 현창훈 데브옵스 엔지니어, Flex / 송주영 데브옵스 엔지니어, W...
컨테이너 및 서버리스를 위한 효율적인 CI/CD 아키텍처 구성하기 - 현창훈 데브옵스 엔지니어, Flex / 송주영 데브옵스 엔지니어, W...Amazon Web Services Korea
 
E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...
E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...
E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...Amazon Web Services Korea
 
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...Amazon Web Services Korea
 
AWS Route53 Fundamentals
AWS Route53 FundamentalsAWS Route53 Fundamentals
AWS Route53 FundamentalsPiyush Agrawal
 
AWS VM import / export ハンズオン
AWS VM import / export ハンズオンAWS VM import / export ハンズオン
AWS VM import / export ハンズオンEmma Haruka Iwao
 
AWS | VPC Peering
AWS | VPC PeeringAWS | VPC Peering
AWS | VPC PeeringMohan Reddy
 
20200128 AWS Black Belt Online Seminar Amazon Forecast
20200128 AWS Black Belt Online Seminar Amazon Forecast20200128 AWS Black Belt Online Seminar Amazon Forecast
20200128 AWS Black Belt Online Seminar Amazon ForecastAmazon Web Services Japan
 

What's hot (20)

(SEC315) AWS Directory Service Deep Dive
(SEC315) AWS Directory Service Deep Dive (SEC315) AWS Directory Service Deep Dive
(SEC315) AWS Directory Service Deep Dive
 
Aws organizations
Aws organizationsAws organizations
Aws organizations
 
AWS networking fundamentals
AWS networking fundamentalsAWS networking fundamentals
AWS networking fundamentals
 
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
 
AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018AWS VPN Solutions (NET304) - AWS re:Invent 2018
AWS VPN Solutions (NET304) - AWS re:Invent 2018
 
Pentesting Cloud Environment
Pentesting Cloud EnvironmentPentesting Cloud Environment
Pentesting Cloud Environment
 
AWS Black Belt Online Seminar AWS Key Management Service (KMS)
AWS Black Belt Online Seminar AWS Key Management Service (KMS) AWS Black Belt Online Seminar AWS Key Management Service (KMS)
AWS Black Belt Online Seminar AWS Key Management Service (KMS)
 
GitLab.pptx
GitLab.pptxGitLab.pptx
GitLab.pptx
 
AWS Blackbelt 2015シリーズ AWS Lambda
AWS Blackbelt 2015シリーズ AWS LambdaAWS Blackbelt 2015シリーズ AWS Lambda
AWS Blackbelt 2015シリーズ AWS Lambda
 
Git & Github for beginners
Git & Github for beginnersGit & Github for beginners
Git & Github for beginners
 
컨테이너 및 서버리스를 위한 효율적인 CI/CD 아키텍처 구성하기 - 현창훈 데브옵스 엔지니어, Flex / 송주영 데브옵스 엔지니어, W...
컨테이너 및 서버리스를 위한 효율적인 CI/CD 아키텍처 구성하기 - 현창훈 데브옵스 엔지니어, Flex / 송주영 데브옵스 엔지니어, W...컨테이너 및 서버리스를 위한 효율적인 CI/CD 아키텍처 구성하기 - 현창훈 데브옵스 엔지니어, Flex / 송주영 데브옵스 엔지니어, W...
컨테이너 및 서버리스를 위한 효율적인 CI/CD 아키텍처 구성하기 - 현창훈 데브옵스 엔지니어, Flex / 송주영 데브옵스 엔지니어, W...
 
AWS運用自動化への第一歩 
AWS運用自動化への第一歩 AWS運用自動化への第一歩 
AWS運用自動化への第一歩 
 
E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...
E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...
E-Commerce 를 풍성하게 해주는 AWS 기술들 - 서호석 이사, YOUNGWOO DIGITAL :: AWS Summit Seoul ...
 
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
 
Deep dive into AWS IAM
Deep dive into AWS IAMDeep dive into AWS IAM
Deep dive into AWS IAM
 
AWS Route53 Fundamentals
AWS Route53 FundamentalsAWS Route53 Fundamentals
AWS Route53 Fundamentals
 
AWS VM import / export ハンズオン
AWS VM import / export ハンズオンAWS VM import / export ハンズオン
AWS VM import / export ハンズオン
 
AWS | VPC Peering
AWS | VPC PeeringAWS | VPC Peering
AWS | VPC Peering
 
20200128 AWS Black Belt Online Seminar Amazon Forecast
20200128 AWS Black Belt Online Seminar Amazon Forecast20200128 AWS Black Belt Online Seminar Amazon Forecast
20200128 AWS Black Belt Online Seminar Amazon Forecast
 
Amazon Glacierのご紹介(機能編)
Amazon Glacierのご紹介(機能編) Amazon Glacierのご紹介(機能編)
Amazon Glacierのご紹介(機能編)
 

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 2014Amazon Web Services
 
Deep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceDeep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceAmazon 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 2013Amazon 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, WorkDocsAmazon Web Services
 
Sweet Inspiration - KateQuitSugar.com
Sweet Inspiration - KateQuitSugar.comSweet Inspiration - KateQuitSugar.com
Sweet Inspiration - KateQuitSugar.comKateQuitSugar
 
Developing sites with Magnolia 4 / STK
Developing sites with Magnolia 4 / STKDeveloping sites with Magnolia 4 / STK
Developing sites with Magnolia 4 / STKguest0afb3
 
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 DrupalGlenn Lim
 
Integration possibilities with Magnolia CMS
Integration possibilities with Magnolia CMSIntegration possibilities with Magnolia CMS
Integration possibilities with Magnolia CMShpesojg
 
Amazon Workspaces Master Class
Amazon Workspaces Master ClassAmazon Workspaces Master Class
Amazon Workspaces Master ClassRichard Harvey
 
Amazon WorkSpaces - Aadvanced Topics & Application Delivery
Amazon WorkSpaces - Aadvanced Topics & Application DeliveryAmazon WorkSpaces - Aadvanced Topics & Application Delivery
Amazon WorkSpaces - Aadvanced Topics & Application DeliveryAmazon Web Services
 
VPC Design for Enterprise Connectivity
VPC Design for Enterprise ConnectivityVPC Design for Enterprise Connectivity
VPC Design for Enterprise ConnectivityAmazon 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 CloudAmazon 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 Howtomailbhargav
 
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 & JohnsonAmazon 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 CLIDanilo 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 2016Amazon 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

Deep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceDeep Dive: AWS Command Line Interface
Deep Dive: AWS Command Line InterfaceAmazon Web Services
 
스크립트로 Aws 서비스 자동화 하기 20161121 slideshare
스크립트로 Aws 서비스 자동화 하기 20161121 slideshare스크립트로 Aws 서비스 자동화 하기 20161121 slideshare
스크립트로 Aws 서비스 자동화 하기 20161121 slideshareIn 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
 
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 2017Amazon 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 websitesLindsay 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 JobNuno Job
 
An Introduction to Windows PowerShell
An Introduction to Windows PowerShellAn Introduction to Windows PowerShell
An Introduction to Windows PowerShellDale Lane
 
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 interfaceJohn Varghese
 
Meetup bangalore aug31st2019
Meetup bangalore aug31st2019Meetup bangalore aug31st2019
Meetup bangalore aug31st2019D.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
 
Perl web frameworks
Perl web frameworksPerl web frameworks
Perl web frameworksdiego_k
 
Curscatalyst
CurscatalystCurscatalyst
CurscatalystKar Juan
 
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 YardSV 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 ReplicationTasawr Interactive
 
Using the Features API
Using the Features APIUsing the Features API
Using the Features APIcgmonroe
 

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...
 
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...
 
Perl web frameworks
Perl web frameworksPerl web frameworks
Perl web frameworks
 
Curscatalyst
CurscatalystCurscatalyst
Curscatalyst
 
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
 
Using the Features API
Using the Features APIUsing the Features API
Using the Features API
 

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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon 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
 
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 WorkloadsAmazon 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 sfatareAmazon 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 NodeJSAmazon 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 webAmazon 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 sfatareAmazon 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 ServiceAmazon 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

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

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