How to set up Bitdefender Security for AWS
Bitdefender Security for Amazon Web Services is a security solution designed for cloud infrastructures and integrated with GZ Cloud Console. An innovative and comprehensive solution, Bitdefender Security for AWS protects Amazon EC2 instances running Windows or Linux operating systems.
This article provides you with instructions on how to set up Bitdefender Security for AWS in your Amazon EC2 environment. It is useful to first get familiar with the Bitdefender Security for AWS components (described in this KB article).
Overview
Before you start, check Bitdefender Security for AWS compatibility and requirements and make sure to have the required Amazon and GravityZone credentials at hand. You can find all necessary information in this KB article.
To set up Bitdefender Security for AWS on your Amazon EC2 instances:
- Subscribe to the service in AWS Marketplace.
- Integrate GravityZone with Amazon EC2 inventory.
- Install BEST on the instances you want to protect.
Step 1: Subscribe to Bitdefender Security for AWS
- Log in to your AWS Marketplace at this link: https://aws.amazon.com/marketplace/.
- Access Bitdefender Security for Amazon Web Services page.
- Click the Continue button on the right side of the page.
- Read the subscription details and click Subscribe. A message will inform that you are subscribed to Bitdefender Security for AWS.
- Click Set Up Your Account. You will be redirected to a registration form hosted by Bitdefender. Follow these steps according to your customer status:
- As new GravityZone customer:
- Fill in the required information.
- Click Finish purchase.
If the provided details are valid, a customer company and a user account will be created for you in GravityZone Control Center. You will receive your login details to the specified email address. At this moment, you can access GravityZone Control Center using the link provided in the email.
- As existing GravityZone customer:
- Click the link provided under the form’s title.
- Enter your GravityZone credentials.
- Click Find company and finish purchase.
If the login credentials are valid, a confirmation message will appear. Access GravityZone Control Center using the provided link.
Note: For the registration to succeed, you must not have had an Amazon EC2 integration in the past.
- As new GravityZone customer:
For details about subscribing to Bitdefender Security for AWS, refer to this KB article.
Step 2: Integrate GravityZone with Amazon Web Services
- Log in to Control Center using your GravityZone credentials.
- In the upper-right corner of the console, go to Integrations.
- If you do not have an active integration, click Add > Add Amazon EC2 Integration. The Amazon EC2 Integration Settings window will open.
- Under External ID, click the Generate button.
- Open a new tab in your browser and log in to the AWS console.
- Click Services at the upper-side of the AWS console and select Security, Identity and Compliance > IAM.
- In the left-side menu, click Roles. A new page is displayed.
- Click the Create role button.
- Select Another AWS account.
- Switch to Control Center and copy the Account ID from the Amazon EC2 Integration Settings window.
- Go back in AWS console and paste the string in the Account ID field.
- Select Require external ID (Best practice when a third party will assume this role).
- Switch to Control Center and copy the External ID from the Amazon EC2 Integration Settings window. You can do this in two ways:
- Select the string and use CTRL + C.
- Click the Copy to clipboard icon at the end of the string.
- Back in the AWS console, paste the string in the External ID field.
- Click Next: Permissions.
- Check the AmazonEC2ReadOnlyAccess permision and click Next: Review.
- In the new page, provide a name and a description in the required fields.
- Click Create Role. You will view the list of all existing roles. Wait for about 1 minute for the changes to propagate across all AWS regions.
- Click your role name to view the details.
- Copy the ARN.
- Switch to the Control Center tab and paste the ARN into the dedicated field.
- Click Save.
GravityZone will import the Amazon EC2 instances in Network, where they will be visible by regions and availability zones.
For details about integrating GravityZone with Amazon EC2 inventory, refer to this KB article.
Step 3 – Install BEST on Instances
To protect instances with Bitdefender Security for AWS, you must install BEST (the client software) on each of them. BEST uses automatic (default) scan modes for EC2 instances set on Central Scan with Bitdefender Security Server hosted in the corresponding AWS region, with fallback on Hybrid Scan (with Light Engines using in-the-cloud scanning and, partially, the local signatures).
Preparing for BEST Installation
Prepare for Silent Agent installation as follows:
- Make sure the instances you want to protect run a supported operating system.
- BEST has the ability to remove competitor Antivirus solutions. Should to automatic removal fail, uninstall (not just disable) any existing antimalware software from instance. Running other security software simultaneously with Bitdefender Security for AWS may affect their operation and cause major problems with the system.
- The installation requires administrative privileges. Make sure to have all the necessary credentials at hand (for example, the private keys of your Amazon EC2 key pairs).
- Configure the Amazon EC2 security groups to allow SSH and Remote Desktop Protocol access from your computer and SSH access from the Control Center instance.
- If you run firewall software on your instances, make sure to configure it to allow access to the Bitdefender Security for AWS communication ports.
Local Installation
You connect to individual instances via a SSH or Remote Desktop client and use the installation link from Control Center to download and install Silent Agent locally.
To obtain the download links for the installation files:
- Connect to Control Center using your company account.
- Go to the Computers > Installation Areapage.
- Click Installation Link. The window that appears provides you with the download links for the Windows web installer and the Linux installation script.
Run the installation file using administrator/root privileges.
Remote Installation
On instances running Linux operating systems, you can install BEST remotely, from Control Center. For any of these methods, you must first specify the remote authentication credentials:
- Connect to Control Center using your Administrator's Account.
- Go your name or company's name in the right upper corner of the page -> Credentials Manager.
- Under Virtualization, click Amazon Credentials. You can view the list of key names imported from your AWS account and detailed information about them.
- For each key name, you must specify the private key and, if needed, complete the list of user names to authenticate with. To specify the necessary credentials, click the Edit icon in the Action column. You can either upload the Amazon private key file or insert its content in the text box. You can remove or add user names as needed.
Remote Installation. To remotely install BEST from the GravityZone Control Center:
- Go to the Computers > View Computers page. This page displays your Amazon EC2 instances.
- Click the Show menu located above the table (to the left) and choose Unmanaged Computers.
- Select the check boxes corresponding to the Linux instances on which you want to install protection. Use the menu under the OScolumn to filter instances by operating system.
- Click Tasks and choose Install from the menu.
- Click Install. A window will appear, prompting for additional information such as credentials and the package that is required for the install.
You can view task execution status and results on the Computers > View Tasks page. Installation takes minutes to complete.