recentpopularlog in

racl101 : tounderstand   974

« earlier  
Troubleshooting Systems Manager Run Command - AWS Systems Manager
If your instances don't show up on SSM service console check the following:

- If using non admin/account owner users (i.e. IAM users) check if they have the right policies attached to them.
- Do the EC2 instances in question have SSM Agent software installed on them
- Do the EC2 instances in question have the Role containing the policy named AmazonEC2RoleforSSM attached to it and, if so, has the instance been restarted after having the role attached to it?
- Is type of command that is being run available for the OS in question
aws  amazon  ssm  howto  troubleshoot  guide  reference  ec2  instance  role  policy  user  iam  fix  toread  tolearn  tounderstand 
4 days ago by racl101
Configuring Access to Systems Manager - AWS Systems Manager
To be able to use AWS SSM service on EC2 instances (which allows one to run shell scripts by having AWS invoke script execution directly) you need to configure the users invoking the ssm service directly with the right policies and configure the EC2 instances with the proper roles.
aws  documentation  guide  reference  ssm  systems  manager  prerequisite  toread  tolearn  tounderstand  configuration  policy  policies  roles  ec2  iam  users 
4 days ago by racl101
Using aws-cli --query Option To Simplify Output - Alestic.com
Nice little tutorial demonstrating how to capture AWS command output from Bash Shell scripts into variables to use in scripts.

e.g. Get the status of an RDS Instance e.g. started, stopped, starting, stopping, modifying that sort of thing. You can do it like this:

rds_instance_status=$(aws --profile my-profile rds describe-db-instances --db-instance-identifier helis-staging-rds-instance-1 --query 'DBInstances[0].DBInstanceStatus')

Note that the query option drills down the output, which, by default is returned as JSON text.
blog  tutorial  howto  example  guide  reference  capture  aws  cli  commandline  output  bash  shell  script  query  json  totry  tolearn  tounderstand 
4 days ago by racl101
How to use Python Boto3 to list Instances in Amazon AWS – Super Library of Solutions
Shows a simple example of how to begin using boto3 library for Python in the simplest of ways.

When reading through the library it's not very clear from the get go how to select a saved profile your ~/.aws/credentials directory which you create when you install the awscli tool into your development machine and configure with $ aws configure command. So here's how you quickly select a profile to create a session for boto3 and then create an s3 client for example.

session = boto3.Session(profile_name='my-profile-name')

s3_client = session.client('s3')

Now with your client you run commands. For example, to list all buckets run:

response=s3_client.list_buckets()
blog  tutorial  boto3  python  python2.7  aws  amazon  cli  script  howto  example  ec2  guide  reference  totry  tolearn  tounderstand 
4 days ago by racl101
Home · Shopify/slate Wiki
This looks promising but parts of it are kind of cumbersome to get started. Namely, having to install a root / self-signed SSL certificate and getting the browsers, namely Google Chrome, to honor it just for the development mode.
shopify  documentation  guide  reference  tutorial  theme  development  tool  slate  npm  yarn  toread  tolearn  tounderstand 
24 days ago by racl101
Shopify/slate: Slate is toolkit for developing Shopify themes. It is designed to assist your workflow and speed up the process of developing, testing, and deploying themes to Shopify stores.
This looks promising. I tried it. However, the development mode with the local browser (localhost:8080) feature is kind of broken since you have to get your browsers to trust a self signed certificate and that's a pain in the ass.
github  shopify  toolkit  development  theme  npm  yarn  totry  tolearn  tounderstand  project 
27 days ago by racl101
« earlier      
per page:    204080120160

Copy this bookmark:





to read