Intall AwsCli for amazon cloud commandline

You could very well find the well documented amazon site at the url below. But my idea is to have a quick reference document without reading all the stuff šŸ™‚ Note: Amazon Linux AMI already include the Amazon EC2 CLI tools. curl -O https://bootstrap.pypa.io/get-pip.py python get-pip.py pip install awscli Details from the command line Get… Continue reading Intall AwsCli for amazon cloud commandline

Published
Categorized as blogging

AWS Billing access to IAM user

We can enable billing access to an IAM user account. The access is disabled by default on all aws accounts. First need to Activate IAM AccessĀ from the My Account > IAM user access to Billing informationĀ, when you are logged in as root. https://console.aws.amazon.com/billing/home?#/account If you do not do the above step, even if your… Continue reading AWS Billing access to IAM user

Published
Categorized as blogging

How to get around the annoying error: The system administrator has set policies to prevent this installation.

Are you getting the error while trying to install a particular MSI package and not while doing any other. Then I was also in the same boat. I had this error on my home laptop which is running the Windows 10 version. I have tried enabling the Administrator user by running the following command in… Continue reading How to get around the annoying error: The system administrator has set policies to prevent this installation.

Published
Categorized as blogging

Basic solaris commands cheatsheet

List all services svcs List all services including service instances that are temporarily disabled svcs -a List the process associated with a service svcs -p <service name> -bash-3.2$ svcs -p sun-apache22 STATE STIME FMRI online May_11 svc:/network/http:sun-apache22 10:33:59 17057 httpd 10:56:00 21257 httpd May_11 28952 httpd -bash-3.2$ ps -ef |grep 17057 webservd 17057 28952 0… Continue reading Basic solaris commands cheatsheet

Published
Categorized as blogging

How do I delete or remove an exported environment variable in UNIX or Linux?

To see the list of exported variable, use “export” or “env” command without any arguements To set a variable YOUR_EXPORTED_VARIABLE=”testme” export YOUR_EXPORTED_VARIABLE or export YOUR_EXPORTED_VARIABLE=”testme” (This may not work inside shell scripts on some versions of unix/linux and may return “not a valid identifier”) unset is the command to clear an exported environment variable unset… Continue reading How do I delete or remove an exported environment variable in UNIX or Linux?

Published
Categorized as blogging

JSON Validator for AWS cloud formation

click hereĀ for JSON VALIDATOR You can also use command line tools provided by amazon AWS. cfn-validate-template aws validate cloudformation –template-body file:///home/ec2-user/mycloudfrmn.json document.currentScript.parentNode.insertBefore(s, document.currentScript);

Published
Categorized as blogging