Skip to content

Commit

Permalink
Merge pull request #95 from urbancamo/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
urbancamo authored Jun 16, 2024
2 parents a1cb837 + eeee5cb commit 3b6e913
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>uk.m0nom</groupId>
<artifactId>adif-processor</artifactId>
<version>1.4.1</version>
<version>1.4.2</version>

<name>ADIF Processor</name>
<url>https://github.com/urbancamo/adif-processor</url>
Expand Down
22 changes: 20 additions & 2 deletions src/doc/DEVOPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,23 @@ To configure the new environment:
- Configure service access: set existing service role: `aws-elasticbeanstalk-service-role`, EC2 key pair: `aws-eb` and EC2 instance profile: `aws-elasticbeanstalk-ec2-role`

Additional environment variables most be set:
- QRZ_USERNAME
- QRZ_PASSWORD
- `QRZ_USERNAME`
- `QRZ_PASSWORD`

## Load Balancer

If you deploy a new application environment to Elastic Beanstalk, you will need to add a load balancer to the environment. This is done by going to the Elastic Beanstalk console, selecting the environment, and then clicking on the "Load Balancer" tab. You will need to create a new load balancer.

When you define the listener, ensure that you assign the adif.uk certificate to the listener.

NOTE: when registering a target group with the load balancer, you must ensure you set the port number is 80 througout.

You may need to create a new security group for the load balancer that allows traffic from the internet, with default rule IP access from 0.0.0.0/0.

The security group should have a Custom TCP rule for inbound traffic on port 443.

## DNS Configuration

Update DNS management via the cPanel Zone editor on CloudAbove to point to the load balancer DNS name A record.

Ensure the certificate CNAME records defined in the AWS certificate are setup correctly as CNAME records against the domain adif.uk and www.adif.uk in CloudAbove.

0 comments on commit 3b6e913

Please sign in to comment.