{"id":44267732,"url":"https://github.com/nullstone-modules/aws-load-balancer","last_synced_at":"2026-02-10T18:37:26.969Z","repository":{"id":225564315,"uuid":"382638075","full_name":"nullstone-modules/aws-load-balancer","owner":"nullstone-modules","description":"Nullstone capability to add a load balancer to an application","archived":false,"fork":false,"pushed_at":"2026-01-21T16:42:52.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-30T14:55:43.558Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nullstone-modules.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security.tf","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-03T14:40:26.000Z","updated_at":"2026-01-21T16:51:17.000Z","dependencies_parsed_at":"2024-05-29T19:47:24.048Z","dependency_job_id":"232f5414-5487-428a-98d5-376c853eeafe","html_url":"https://github.com/nullstone-modules/aws-load-balancer","commit_stats":null,"previous_names":["nullstone-modules/aws-load-balancer"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/nullstone-modules/aws-load-balancer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Faws-load-balancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Faws-load-balancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Faws-load-balancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Faws-load-balancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullstone-modules","download_url":"https://codeload.github.com/nullstone-modules/aws-load-balancer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-modules%2Faws-load-balancer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29311362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-10T18:37:26.166Z","updated_at":"2026-02-10T18:37:26.961Z","avatar_url":"https://github.com/nullstone-modules.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Load Balancer\n\nThis module serves traffic to an ECS/Fargate (Nullstone) application through an HTTP Load Balancer.\n\n## Configuration\n\nTraffic is served to the port specified in the application's `port` variable.\n\nThe module creates an S3 Bucket to store the Load Balancer's access logs. \n\n## SSL\n\nIf `var.enable_https` is enabled, a subdomain is required and used to provision an SSL Certificate.\nOnce provisioned, the SSL Certificate is attached to the Load Balancer listening on port 443.\nSSL Termination is performed at the Load Balancer -- traffic from the Load Balancer to the application is performed over HTTP.\n\nIf enabled, a secondary Load Balancer listener is configured on port 80 to redirect `http://\u003csubdomain\u003e` to `https://\u003csubdomain\u003e`.\nThis ensures users connect appropriately to the HTTPS listener. \n\n## Security\n\nWhen SSL is enabled, the Load Balancer allows traffic from the internet to port 443 and port 80.\nIf not, traffic is allowed from the internet to port 80.\n\nTraffic from the Load Balancer to the Application is allowed *only* on the application's port.\n\n## Health Checks\n\nHealth checks are performed on the application's port (i.e. `var.port`) using the configurable health check inputs.\n\nFor more details about configuring health checks on an AWS Load Balancer, see the AWS documentation:\n\u003ca href=\"https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-healthchecks.html\" target=\"_blank\"\u003eConfiguring Health Checks\u003c/a\u003e\n\n## Sticky Sessions\n\nSticky Sessions allow you to control where requests are routed through the load balancer to your application.\nFor example, during a deployment, you may want to ensure that an older frontend routes requests to an older version of the backend.\nAWS supports duration-based and application-based sticky sessions. \n\nIn both scenarios, a cookie is set that your browser transmits back to the load balancer. \nThe load balancer uses that cookie to determine which target to relay the request.\n\nSee more at https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html\n\n### Duration-based\n\nHow to configure with 12-hour expiration:\n```\n# vars\nsticky_session_type: 'duration'\nsticky_session_duration: 43200 \n```\n\n### Application-based\n\nHow to configure with 'sticky-cookie' cookie:\n```\n# vars\nsticky_session_type: 'application'\nsticky_session_cookie_name: 'sticky-cookie' \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullstone-modules%2Faws-load-balancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullstone-modules%2Faws-load-balancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullstone-modules%2Faws-load-balancer/lists"}