At the Configure this software page, click the Continue to Launch button in the upper right corner.
The Launch this software page opens. At this page, you can review the Configuration Details once again.
The Choose Action section allows to select the method you want to use to launch the instance. The Launch from Website option is selected by default. Leave it unchanged to deploy the instance using the Launch Instance Wizard provided at this web page.
Note: you can also launch your instance through the
Amazon EC2 console. To do that, select the
Launch through EC2 option from the menu and click the
Launch button. You will be redirected to the
Launch Instance Wizard in your
AWS Management Console where you can select an instance type, configure the instance details, add a storage, tags and configure a security group. This guide does not describe such a method of launching the instance.
In the EC2 Instance Type section, the only option is available (it depends on the previously selected ONLYOFFICE Docs Enterprise Edition instance type with a certain number of allowed connections).
In the VPC Settings and Subnet Settings sections, leave default settings.
Now you need to create a new Security group and generate a Key pair.
Create a new security group
A security group allows to limit access to your instance so that only known IP addresses can access it.
In the Security Group Settings section, click the Create New Based on Seller Settings button.
Enter the name of the security group (for example, ONLYOFFICE) and add its description.
Use the Source (IP or Group) list, to set the necessary rules. You can specify a single IP address, or an IP address range, e.g. 10.040.196.230/32
.
The rules are specified for the following ports:
- SSH - port 22 is used to access your server using an SSH client over the SSH protocol.
- HTTP - port 80 is used to access your web office via a web browser over the HTTP protocol.
- HTTPS - port 443 is used to access your web office via a web browser over the secure HTTPS protocol.
When ready, click the Save button.
Generate a key pair
A key pair is required to securely connect to your instance via the SSH protocol using an SSH client like PuTTY or OpenSSH.
In the Key Pair Settings section, click the Create a key pair in EC2 link.
The AWS Management Console will open in a new browser tab.
verify that the AWS Region displayed at the top toolbar is the same that the one where you want to launch the instance.
Click the Create key pair button in the upper right corner. Enter the key pair name (e.g. ONLYOFFICE) in the corresponding field and select the file format depending on which software you want to use to connect to your instance remotely:
pem
is used for OpenSSH
ppk
is used for PuTTY
Click the Create key pair button below.
Your public key will be stored in the AWS EC2. The .pem/.ppk
file that contains your private key will be downloaded to your local machine and stored in the default Downloads folder. Please copy it and store in a safe place.
Return to the AWS Marketplace, refresh the key pair field using the icon to the right of it and select the created key pair from the list.
After that, the Launch button becomes unlocked. Click the Launch button and wait while the instance is being deployed. When ready, the message about the successful deployment appears.
Click the EC2 Console link in this message to open the instance details in the AWS Management Console.
It can take some time for the instance to become completely functional after you launched it. Make sure that the instance status has changed from 'pending'
to 'running'
in the Instance State column and verify that the instance has passed all status checks. This information is displayed in the Status Checks column.
Then you can connect to your instance via SSH to enable test examples and check the solution functionality via a web browser.