Login

Recover Your Password

Start Here for How to Create an AWS Server for Contensive

This article will guide you through creating a new Amazon EC2 instance to be used as a Web Server. You will also be shown how to create an AMI from the EC2 instance that will enable you to quickly make other new instances.

Launch a Basic Small Windows Server

  1. Log into or create an Amazon AWS account.
  2. Search for EC2 in the "Find Services" search bar.
  3. Click the "Launch Instance" button.
  4. Search for "Windows Server 2019".
  5. Select the Windows Basic 2019.
  6. Instance type - Select t3.medium for your instance type. Alternatively, you can choose a larger instance if you want installation to run faster. Instance size is the easiest option to upgrade later.
  7. Add a 20GB dirve-d (2 drives)
  8. Network - Use the same network if you already have resources running. Select the VPC that includes the RDS connections you typically use.
  9. Security Group - Select or create a group that allows web and secure access from anywhere. Ensure that the group allows you to RDS into the machine from only your location. If you prefer to manage SQL Server from your desktop, enable access to the SQL Server from your location as well. 
  10. Choose or create a PEM Key Pair file and save it to a safe location. 
  11. Launch the instance.
  12. Navigate to the EC2 Instances dashboard. You should now see the instance that you just created.
  13.  Click the "Connect" button after a few minutes of waiting for the password to be available (AWS site says around 4 minutes).
  14. Use the PEM file that you saved to decrypt the admin password. Copy the password to your clipboard. 
  15. Download and run the Remote Desktop file that is also present in the "Connect" window. Use the password saved to your clipboard to access the server.

Configure the Server

  1. Open Server Manager from the new server's desktop (can be found if you click the Windows icon in the bottom left of the task bar).
  2. Click Configure Local Server at the top.
  3. Turn off IE Enhanced Security in the Properties box at the top. You can also copy the installation download of your favorite browser to the server and install it, but IE works just fine for our purposes.
  4. Navigate to Roles and Features, click Tasks then click "Add Roles and Features".
  5. Under Server Role, choose "add Web Server". Install all Webserver and all Management tools. This feature must be installed before Web Deploy is installed.
  6. Select role-based or feature-based installation.
  7. Click Install.
  8. Download and install Web Deployment.

Install SQL Server Express

  1. From your desktop, search for and download the installation file for the latest version of SQL Server Express.
  2. Copy the installation file to the desktop of the server (copy from your physical desktop and paste it to the server desktop).
  3. Install SQL Server using the basic default settings. Install SQL Server Management Studio from the installation completed screen if you want to manage the SQL server (or you can download it from the internet later).

Assign a Public IP address and Domain Name to the Server.

You can use the default Amazon domain name for the server (eg. ec2-1-2-3-4.compute-1.amazonaws.com) or give it one of your own. 

Here are the basics of obtaining a custom domain name:

  1. Assign an Elastic IP to your EC2 instance.
  2. Purchase a domain name. Route 53 via AWS is a viable option.
  3. Connect the Elastic IP to your domain name.
  4. Bind the domain name to your site in IIS Manager.

NOTE: Using an Elastic IP is essential because the default IP of your server will change every time the server is reset.



Posted By Jay Kidwell | 4/15/2019 7:11:45 PM
 

Manage Your Membership Community

The best all-in-one-place solution to build and manage your membership community. Built with Contensive.

Subscribe By Email

Email*

Search