amazon-web-services

AWS Elastic Beanstalk - how to stop previous docker before starting new one

跟風遠走 提交于 2021-02-08 23:38:07
问题 I have a set of AWS Elastic beanstalk using Docker based configuration for both web server and worker server. The way we have setup is that the java process inside docker allocates 70% of the box memory when starting. Now the first deployment works fine, but when I try to update application version with in-place Rolling update, Elastic beanstalk tries to start an additional docker container with the java process before stopping the existing one. This fails the deploy as the Java server is not

C# AWS SQS Client inaccessible due to it's protection level

自作多情 提交于 2021-02-08 19:52:07
问题 So I've been having an issue getting the example from AWS to work for C#. I copy the code below straight from their site and put it in my program, but when it calls client.ListQueues(request); it tells me that it's inaccessible due to it's protection level. I've spent time searching, but I can't figure out why this isn't work. Any help would be appreciated. var client = new AmazonSQSClient(); // List all queues that start with "aws". var request = new ListQueuesRequest { QueueNamePrefix =

Running Chrome on an AWS micro instance

こ雲淡風輕ζ 提交于 2021-02-08 15:48:10
问题 Let me start by saying my server administration experience is limited, so please forgive me if I'm making assumptions that might seem odd. I've written an extension for Google Chrome and I'd like to test its stability when left running continuously for days, but unfortunately I have no access to a pc or laptop that I can leave on 24/7. So my idea is to set up a EC2 micro instance with ubuntu, then install ubuntu-desktop and a vnc server, and finally connect via vnc to the instance, access to

EKS : could not find any suitable subnets for creating the ELB

ぐ巨炮叔叔 提交于 2021-02-08 15:23:36
问题 I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like this apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: LoadBalancer selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 But the load balancer is not creating as expected I am getting the following error Warning

EKS : could not find any suitable subnets for creating the ELB

给你一囗甜甜゛ 提交于 2021-02-08 15:23:05
问题 I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like this apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: LoadBalancer selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 But the load balancer is not creating as expected I am getting the following error Warning

EKS : could not find any suitable subnets for creating the ELB

微笑、不失礼 提交于 2021-02-08 15:22:54
问题 I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like this apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: LoadBalancer selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 But the load balancer is not creating as expected I am getting the following error Warning

EKS : could not find any suitable subnets for creating the ELB

∥☆過路亽.° 提交于 2021-02-08 15:22:10
问题 I am trying to expose a service to the outside world using the loadBalancer type service. For that, i have followed this doc https://aws.amazon.com/premiumsupport/knowledge-center/eks-kubernetes-services-cluster/ My loadbalancer.yaml looks like this apiVersion: v1 kind: Service metadata: name: nginx-service spec: type: LoadBalancer selector: app: nginx ports: - protocol: TCP port: 80 targetPort: 80 But the load balancer is not creating as expected I am getting the following error Warning

Which AWS services does AWS CloudFormer support?

百般思念 提交于 2021-02-08 15:18:32
问题 AWS CloudFormation offers a default stack named CloudFormer, a template creation tool. CloudFormer creates a CloudFormation template from your current AWS environment, allowing you to click which manually created resources to include in your template. The AWS CloudFormer documentation does not list the AWS services that CloudFormer supports. There is an announcement from 2013 (CloudFormer Now Supports Amazon VPC and More AWS Resources) that lists a subset of supported services, but there is

Executing Step Function “Tasks” using ECS Fargate

北战南征 提交于 2021-02-08 15:14:37
问题 In Re:Invent 2018, AWS seems to have launched new integrations with Step Functions, which includes ECS Fargate support. https://docs.aws.amazon.com/step-functions/latest/dg/connectors-ecs.html I have been digging up on this, and I am able to get the ECS task to startup, and do its thing, but I am not able to send desired output back to the step function. The response syntax too does not seem to have anything that corresponds to the output of a particular state. https://docs.aws.amazon.com

Is there a way for a Lambda function to be triggered by multiple S3 buckets?

别说谁变了你拦得住时间么 提交于 2021-02-08 15:13:50
问题 I'm trying to create a Lambda function that will be triggered by any change made to any bucket in the S3 console. Is there a way to tie all create events from every bucket in S3 to my Lambda function? It appears that in the creation of a Lambda function, you can only select one S3 bucket. Is there a way to do this programmatically, if not in the Lambda console? 回答1: There is at least one way: you can setup an s3 event notifications, for each bucket you want to monitor, all pointing to a