h2
Stream Nginx and PHP FPM logs into AWS cloudwatch
h2
A complete setup guide for OpenVPN on AWS with free CertBot SSL
h2
Manage laravel .env file using AWS parameter store
h2
Ansible everything you need to know about set_facts
h2
Ansible AWS rolling AMI update with zero downtime
h2
PHP OPcache important settings and revalidation simplified
h2
Laravel APP_KEY rotation policy for app security
h2
AWS update AMI using systems manager automation
h2
New AWS EC2 instance connect can save you instance ssh headaches
h3
Important settings of OPcache :
h3
Clearing the OPcache :
h3
OPcache and the automated deployments :
h3
What is a rolling AMI update :
h3
Running the playbook :
h3
Rolling back the update :
h3
Why to invest time in ansible :
h3
Tracking ansible playbooks in git repo :
h3
The jargon set_facts :
h3
Let's see a real life use case :
h3
Register and set_facts go hand in hand :
h3
set_facts is host specific :
h3
Diving into an example :
h3
Conditionally set facts :
h3
EC2 user_data coming to rescue :
h3
Setting up variables in parameter store :
h3
Accessing the paremeter store values :
h3
Shell script to generate .env :
h3
Putting pieces together :
h3
Fundamental implementation situations :
h3
Overview of AWS setup :
h3
Step 1 - Spinning up the EC2 server :
h3
Step 2 - Assigning elastic IP and domain :
h3
Step 3 : Initializing up the OpenVPN basic settings :
h3
Step 4 : Accessing OpenVPN Web UI :
h3
Step 5 : Having a valid SSL :
h3
Step 6 : Creating an OpenVPN user :
h3
Final step : Login with VPN :
h3
Giving permissions to push to cloudwatch :
h3
Testing the initial setup :
h3
Updating the configurations :
h3
A heads up on instance OS support :
h3
Step 1 - Spinning up the EC2 server to dryrun ECV2 Instance Connect :
h4
Step 2 : Install EC2 Instance Connect on the instance :
h4
Step 3 : Create policy to allow SSH Connect Access :
h4
Step 4 : Create a new User and attach policy :
h4
Step 5 : Setting up local system for Secure Shell(SSH) connection :
h4
Step 5 : Connect to the instance via Secure Shell(SSH) :
h4
Real world use cases for SSH users :
h4
Managing the ssh access :
h4
Accessing the connection logs :
h4
Avoiding streaming of notices and warnings :
h4
Setting up a cloudwatch alarm :
h4
Installing the agent :
h4
AWS Cloudwatch Agent :
h4
Why your app key is important?
h4
Passwords and APP_KEY :
h4
Affects of changing APP_KEY :
h4
Let's handle the headache first :
h4
Prerequisites and difficult terms explained :
h4
Creating required IAM roles :
h4
AWS Instance Connect :
h4
Creating script of commands to run :
h4
The moment you have been waiting for :
h4
Some suggestions on best practices :
h5
Step 1 : Create IAM Role for IamInstanceProfileName :
h5
Step 2 : Create IAM Role for AutomationServiceRole :
h5
Step 3 : Get the arn string of ManagedInstanceProfileForSSM :
h5
Step 4 : Create policy to pass the above arn into second role :
h5
Step 5 : Attach policy to pass the above arn into second role :
h5
Step 5 : Update trust relationships :