Setting Multiple Profile for AWS CLI
AWS CLI The AWS Command Line Interface (AWS CLI) is an open source tool that enables you to interact with AWS services using commands in your command-line shell. AWS CLI…
AWS CLI The AWS Command Line Interface (AWS CLI) is an open source tool that enables you to interact with AWS services using commands in your command-line shell. AWS CLI…
Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. It uses no agents and no additional custom security infrastructure, so…
When using the SSL Endpoint feature for non-production applications, you can avoid the costs associated with the SSL certificate by using a self-signed SSL certificate. Though the certificate implements full…
In the most common configurations, when running your web app behind Nginx or Apache, your https:// request will get redirected to http://. Sometimes, you may want to rewrite all HTTP…
Before you beginEnable Virtualization in BiosVT-x or AMD-v virtualization must be enabled in your computer’s BIOS.Install a HypervisorIf you do not already have a hypervisor installed, install the appropriate one…
RequirementIAM Roles for the Instance to run with AmazonSSMFullAccessAWS System Manager, AmazonEC2RoleforSSM Policy attached to your userInstall or Update the SSM AgentAWS CloudWatch AgentYour AWS Instance must have internet access…
Docker is built on top of LXC, and thereforce runs containers, not VMs as Virtual Machines for instance. Docker containers are made of docker images, similar to LXC/VZ templates, but…
First stop Mysql service /etc/init.d/mysqld stop rename the mysql directory mv /var/lib/mysql /var/lib/mysql_old Mount a secondary disk as data disk, I have mounted /disk2 to my /dev/sdb create a folder…
Apache’s mod_rewrite makes it easy to require SSL to be used on your site and to gently redirect users who forget to add the https when typing the URL. Using…
The MySQL slow query log and the general log can be written to a file or a database table by setting parameters in your DB parameter group. You must set…