Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Gamelift Game Server Group #18002

Closed
lystor opened this issue Mar 9, 2021 · 1 comment · Fixed by #23606
Closed

Support for Gamelift Game Server Group #18002

lystor opened this issue Mar 9, 2021 · 1 comment · Fixed by #23606
Labels
new-resource Introduces a new resource. service/gamelift Issues and PRs that pertain to the gamelift service.

Comments

@lystor
Copy link
Contributor

lystor commented Mar 9, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

GameLift FleetIQ optimizes the use of low-cost Spot Instances for cloud-based game hosting with Amazon EC2. With GameLift FleetIQ, you can work directly with your hosting resources in Amazon EC2 and Auto Scaling while taking advantage of GameLift optimizations to deliver inexpensive, resilient game hosting for your players. Amazon EC2 Spot Instances, although offered at steep discounts, are not generally viable for game hosting because availability fluctuates and there is the potential for interruptions. GameLift FleetIQ significantly mitigates these limitations, making the use of low-cost Spot Instances viable for game hosting.

FleetIQ optimizations are also available when using GameLift to manage your game hosting. See the GameLift Developer Guide for more information on GameLift hosting options.

The GameLift FleetIQ game hosting solution is designed for game developers who:

  • Have existing AWS deployments or want to use Amazon EC2 directly rather than through the fully managed GameLift service. GameLift FleetIQ works with Auto Scaling groups that you manage in your AWS account, giving you full access to your Amazon EC2 instances and groups. You can also integrate with other AWS services, including Amazon Elastic Container Service, Amazon Elastic Kubernetes Service, and AWS Shield Advanced.

  • Have existing on-premises game hosting and want to extend capacity to the cloud. With GameLift FleetIQ, you can build a hybrid deployment system that uses your on-premises capacity and incrementally adds AWS cloud capacity as needed.

New or Affected Resource(s)

  • aws_gamelift_game_server_group

Potential Terraform Configuration

Basic usage:

resource "aws_gamelift_game_server_group" "example" {
  game_server_group_name = "example"

  instance_definition {
    instance_type = "c5.large"
  }

  instance_definition {
    instance_type = "c5a.large"
  }

  launch_template {
    id = aws_launch_template.example.id
  }

  max_size = 1
  min_size = 1
  role_arn = aws_iam_role.example.arn

  depends_on = [
    aws_iam_role_policy_attachment.example
  ]
}

Full usage:

resource "aws_gamelift_game_server_group" "example" {
  auto_scaling_policy {
    estimated_instance_warmup = 60

    target_tracking_configuration {
      target_value = 75
    }
  }

  balancing_strategy = "SPOT_ONLY"
  game_server_group_name = "example"
  game_server_protection_policy = "FULL_PROTECTION"

  instance_definition {
    instance_type = "c5.large"
    weighted_capacity = "1"
  }

  instance_definition {
    instance_type = "c5.2xlarge"
    weighted_capacity = "2"
  }

  launch_template {
    id = aws_launch_template.example.id
    version = "1"
  }

  max_size = 1
  min_size = 1
  role_arn = aws_iam_role.example.arn

  tags = {
    Name = "example"
  }

  vpc_subnets = [
    "subnet-12345678", 
    "subnet-23456789"
  ]

  depends_on = [
    aws_iam_role_policy_attachment.example
  ]
}

References

@lystor lystor added the enhancement Requests to existing resources that expand the functionality or scope. label Mar 9, 2021
@ghost ghost added the service/gamelift Issues and PRs that pertain to the gamelift service. label Mar 9, 2021
@DrFaust92 DrFaust92 added new-resource Introduces a new resource. and removed enhancement Requests to existing resources that expand the functionality or scope. labels Mar 9, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Mar 9, 2021
@anGie44 anGie44 removed the needs-triage Waiting for first response or review from a maintainer. label Mar 9, 2021
@github-actions
Copy link

github-actions bot commented May 9, 2022

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource. service/gamelift Issues and PRs that pertain to the gamelift service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants