Posts

Showing posts with the label aws

Ebextension file for redirection Http to Https with Elastic beanstalk

Image
Ebextension file for redirection Http to Https with Elastic beanstalk files: # Redirect HTTP to HTTPS "/etc/httpd/conf.d/https_redirect.conf": mode: "000644" owner: root group: root content: | RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} ^http$ RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Connect EC2 using Putty generator

Image
Connecting to Your Linux Instance from Windows Using PuTTY       The following instructions explain how to connect to your instance using PuTTY, a free SSH client for Windows. If you receive an error while attempting to connect to your instance, see Troubleshooting Connecting to Your Instance . After you launch your instance, you can connect to it and use it the way that you'd use a computer sitting in front of you. Note After you launch an instance, it can take a few minutes for the instance to be ready so that you can connect to it. Check that your instance has passed its status checks. You can view this information ...