New answers tagged amazon-web-services
0
here is a complete example:
resource "aws_key_pair" "my_key" {
key_name = "my_key"
public_key = file(pathexpand("~/.ssh/id_rsa.pub"))
}
resource "aws_instance" "example" {
ami = my_ami
instance_type = "t2.micro"
key_name = aws_key_pair.my_key.key_name
ebs_block_device {
...
-1
Take a look at this Jenkins Plugin: https://plugins.jenkins.io/slave-status/
It'll expose a healthcheck endpoint + other information like memory on port 3141 (you can configure a custom port). You can then ping that healthcheck endpoint and send the data to CloudWatch.
0
Terraform Provisioners are a last resort, so I'd encourage you to think about other options first.
In this case, your example suggests that you're already using cloud-init and so if at all possible I'd suggest modifying that cloud-init configuration to include a request to install the package you want to install. If you are using the cloud-config YAML format ...
0
Yes, you can.
Use Storage Gateway service. It will give you a NFS endpoint. Mount that using kubernetes volumn.
It is possible. I have already achieved this.
0
Yes , you can ( and in swarm mode you should )
rexray example
s3vol example
in fact with volume plugins you may attach many things
also for registry
Top 50 recent answers are included
Related Tags
amazon-web-services × 420amazon-ec2 × 70
terraform × 56
kubernetes × 36
docker × 35
amazon-s3 × 32
amazon-ecs × 26
aws-lambda × 23
jenkins × 20
aws-cli × 19
aws-iam × 17
load-balance × 15
aws-vpc × 14
ansible × 13
dns × 13
aws-cloudformation × 13
autoscaling × 12
amazon-cloudwatch × 12
linux × 10
amazon-rds × 10
eks × 10
amazon-sqs × 10
automation × 9
security × 9
python × 9