Directing the Route 53 Record Set to the ALB
Although it is technically possible to connect to the ALB using its DNS name (such as internal-srgdemo-alb-505957021.eu-central-1.elb.amazonaws.com
), this is not recommended for the following reasons:
- The URL is hard to remember and a user is forced to bookmark it in order to use it.
- You are unable to create the certificate for this domain, so browsers will always warn users about the insecure connection.
Previously, we created a record set in the Route 53 hosted zone and requested a certificate for the chosen domain name. You can now direct the record set to the application load balancer.
Using the Web UI
To direct the Route 53 record set to the ALB using the web UI:
- Using the Find Services search tool, locate and browse to the Route 53 Dashboard.
- In the left navigation panel, select Hosted zones. Ignore any errors generated during this process.
- From the hosted zones list, select the same hosted zone as you chose for creating the new Route 53 record set. (Use the search box to search for the zone if necessary.)
- Create the record set as outlined here, using the following values in the details pane.
- Alias: Change to Yes.
- Alias Target: Start typing
internal-<domain name>
; for example,internal-srgdemo
. The long list will be filtered and only your ALB will be displayed. Select it.
- Click Save Record Set.
Using the CLI
To direct the Route 53 record set to the ALB Using the CLI:
- Copy the template
UpdateRecordSetToALB.json
and open the copy in a text editor. This template is available in thearcsight-platform-cloud-installer-<version>/aws-scripts/objectdefs/
subfolder. - Edit the following:
- Record name: Combine the subdomain (such as
srgdemo
) and hosted zone name. For example,arcsight-dev.com
). You can also refer to the AWS worksheet for the RecordSet name. - ALB Canonical hosted zone ID: Get the value from the AWS worksheet.
- ALB DNS name: Get the value from the AWS worksheet.
- Record name: Combine the subdomain (such as
- Run the following command:
aws route53 change-resource-record-sets \
--hosted-zone-id <Hosted zone Id> \
--change-batch file://UpdateRecordSetToALB.json
Where:
<Hosted zone Id>
:Use the Hosted Zone ID from the AWS worksheet. For example, /hostedzone/Z3EAG7KOHX70J0
.
<change-batch file>:
Replace the parameter with the name of your own modified instance of the linked JSON template.
Configure Browser
Finally, configure the browser on your bastion to trust the certificate.
For example, in Mozilla Firefox,
- Select Preferences > Privacy & Security > Certificates.
- Click View Certificates.
- Cick Authorities.
- Click Import and then browse to the ca.cert.pem to import the file.
Consult your browser documentation for the exact procedure on your browser.
Next Step: Downloading the Installation Packages