In a High Availability (HA) configuration, IP switching occurs between two vThunder instances. The IP switching is enabled when AWS keys are imported on the vThunder instances using the FTP server. You can configure an existing FTP server or create a new one.
To create a new FTP server if an existing FTP server is not available, perform the following steps:
FTPserver
as the FTP server instance name.vpc
as the VPC.10.0.3.0/24
is the data subnet value.vpc-vThunderSecurityGroupData
is the security group.NOTE: | The system may take a few minutes to launch the instance. |
The FTP server instance is displayed in the Instances list with the status as Running.
To configure a new or existing FTP server, perform the following steps:
Run the following command in the Terminal window of the FTP server instance to update all the package information:
sudo apt update
Run the following command to create an Apache Server virtual machine:
sudo apt install apache2
While the Apache server is getting installed, you get a prompt to continue further. Enter 'Y' to continue. After the installation is complete, a newline prompt is displayed.
Run the following command to open the aws_access_key.txt
file:
sudo vi /var/www/html/aws_access_key.txt
Locate and open the credentials file from downloaded CFT folder.
aws_access_key.txt
file. For more information, see Prerequisites.After the changes, press Esc then type :wq to save the changes and exit.
The AWS access keys are imported.
NOTE: | The FTP server should be deleted manually after the AWS access keys are imported to the vThunder instance. |