WildFly S3 Domain Discovery
Blog post from Octopus Deploy
Configuring a WildFly domain in a cloud environment like AWS can be challenging due to the absence of fixed IP addresses and network broadcasts for resource discovery. A practical solution for AWS users is leveraging an S3 bucket as a centralized configuration point to discover domain controllers. This process involves creating an IAM user with specific permissions to access the S3 bucket, setting up the bucket, and configuring the domain controller to update its details in the bucket. A management user, such as a 'slave', is created to allow slave instances to connect to the domain controller. The domain controller's management port must be bound to an external interface, and the slave instance needs to be configured with the appropriate server identities and discovery options. Once configured, the management console can be used to verify the successful connection between the master and slave hosts. This approach simplifies the configuration process by eliminating the need for fixed IP addresses and works around AWS's network broadcast limitations.