Please select the redirections you wish to enable or disable on your BitnamiĮnable HTTP to HTTPS redirection : YĮnable non-www to www redirection : nĮnable www to non-www redirection : y The following domains were not included: Do you want to add them? : Y Please provide a valid space-separated list of domains for which you wish to Welcome to the Bitnami HTTPS Configuration tool. You need to follow the wizard in order to generate your Let’s Encrypt certificate. We need to run it as follows: sudo /opt/bitnami/bncert-tool Luckily for us, Bitnami supplied us with a tool to generate the certificate from Let’s Encrypt automatically and also automatically renews it for us.
To enable this we need to install a Let’s Encrypt certificate on this server. This requires the WordPress server to have a trusted CA certificate installed. We want to focus on end-to-end encryption. The documentation contains lots of information on what has been configured and how you can tweak more settings, so it’s highly recommended that you’d read that. The command displayed above is also supplied in the Bitnami documentation.
The first you want to do is to obtain the WordPress credentials from the server so you can log in on the wp-admin interface: cat bitnami_credentials Amazon Lightsail connects to the instance using SSH We can easily login through the connect tab within the Amazon Lightsail console. Getting your own IP can be fetched using this simple trick in your terminal: curl ipinfo.io/ipĪWS also supplies terminal access through the browser console, if you’d rather use that, then you can disable port 22 on the firewall. You should restrict access to port 22 (SSH) for your IP address. By default Port 22/80/443 is allowed for everyone, which is something that’s not considered best practice for security measures!
When you don’t attach it, AWS starts charging you for reserving the IP address.īefore we’re going to optimize the WordPress configuration on the server, we’re going to update the Lightsail instance’s firewall to protect it from outsiders.
Amazon Lightsail console: create static IPĬreating a static IP is free of charge when it’s attached to the instance. To fix this, you should assign a static IP address in the networking tab. The A record will still point to the old dynamic IP address. This can become a problem if you point your DNS’s A record to the IP address and you decide to stop/start the server. But it’s only a dynamic address which means you will lose it once you stop/start the machine. You will see that it has an external IP address. When you create the instance, it starts to boot up with the WordPress image. In the next step, we want to choose our instance type (basically the horsepower of the machine). Choose a region that is the closest to your audience/readers. You get to pick the region to which you want to deploy your instance. This image is a pre-configured, ready-to-run image for running WordPress on Amazon Lightsail supplied by Bitnami. Amazon Lightsail console: instance blueprints Then we select WordPress as the type of Operating System + Application. The platform is either Linux or Windows, for our use case, we select Linux. In the next window, you get to select the platform and blueprint. In the console, you press “create an instance”. So before we begin you’ll need the following: It’s designed to help you start small, and then scale as you grow. Lightsail is ideal for simpler workloads, quick deployments, and getting started on AWS.
Block No-Referrer requests to pluginsįor this guide, we’re going to deploy a WordPress instance using Amazon Lightsail. Block everyone else from accessing wp-admin
If you have an issue related to one of our containers, please go to its specific repository in our GitHub organization and report an issue there. If you have an issue related to one of our charts, please go to the repository and report an issue there. You can have important information about a Cloud provider: There is an updated documentation at where you can find tutorials and FAQs. If the documentation didn't help you, we strongly suggest you to check the resolved issues and the on going ones before addressing an issue.
Popular applications, provided by Bitnami, ready to launch on:īefore continuing, please review our useful guides about how to configure and use your application in our documentation