{"id":46,"date":"2020-08-28T18:01:14","date_gmt":"2020-08-28T18:01:14","guid":{"rendered":"http:\/\/localhost\/developer101\/?p=46"},"modified":"2020-08-31T02:16:32","modified_gmt":"2020-08-31T02:16:32","slug":"deploy-on-ec2-instance","status":"publish","type":"post","link":"https:\/\/developer101.mikeweiser.com\/index.php\/2020\/08\/28\/deploy-on-ec2-instance\/","title":{"rendered":"Deploy on AWS EC2"},"content":{"rendered":"\n<p>I just finished jotting down some instructions for deploying your WordPress website on an AWS EC2 instance running Ubuntu 20.04.  This was not a coding project, but there were challenges getting the different software elements to &#8220;play nice&#8221; with each other.  WordPress, AWS, Ubuntu, Apache, PHP, MySQL, Adminer, and HTTPS were the main components I used.  These steps assume that you already have an AWS EC2 instance running Ubuntu 20.04 with SSH access and a WordPress site running properly on your localhost.  Here are the main steps&#8230;<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<ul><li>Create MySQL user and grant privileges on AWS EC2<\/li><li>Export local database than import on AWS EC2<\/li><li>Route domain names with domain registrar, AWS, and Apache<\/li><li>Update site to use HTTPS<\/li><\/ul>\n<\/div><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just finished jotting down these instructions for deploying your WordPress website on an AWS EC2 instance running Ubuntu 20.04.  <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,4],"tags":[],"_links":{"self":[{"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/posts\/46"}],"collection":[{"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":14,"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":73,"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/posts\/46\/revisions\/73"}],"wp:attachment":[{"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer101.mikeweiser.com\/index.php\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}