how to disable sqs on elastic beanstalk

laertiades

I have a rails app on AWS Elastic Beanstalk. I process background tasks using delayed_job. I set up an eb worker instance to handle this. It works but shows as failed (red) in the dashboard. I believe this is because of the following error that I get every few seconds:

error: AWS::SQS::Errors::AccessDenied: Access to the resource https://sqs.us-west-2.amazonaws.com/xxx...xxxx is denied

I tried to remove sqs by means of the following to no avail:

services:
  sysvinit:
    aws-sqsd:
      enabled: false
      ensureRunning: false 

How do I stop sqs? Ideally it would never be installed in the first place. If I can't modify the install configuration is there a way to prevent this error from affecting the status of my environment?

Rohit Banga

You are launching a worker tier environment. That is why SQS is being created for your environment. You should launch a "Web Server" environment if you do not want to launch a worker environment. Worker Tier environment in Elastic Beanstalk allows you to poll messages from an SQS queue periodically.

Read more about worker tier environments here: http://aws.amazon.com/blogs/aws/background-task-handling-for-aws-elastic-beanstalk/

Read more about environment tiers here: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features-managing-env-tiers.html

If you want to use a Worker Tier environment with SQS enabled you can get rid of the AccessDenied exception by giving access to the IAM instance profile to access SQS as explained here: https://stackoverflow.com/a/24880344/161628

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How to choose between Elastic Container Service (ECS) or Elastic Container Registry (ECR), Elastic Beanstalk, and Lambda?

From Dev

How do configure scaling based on latency in AWS Elastic Beanstalk?

From Dev

How to configure Elastic Beanstalk for RDS

From Dev

How to stop Elastic Beanstalk from giving me a new Elastic IP

From Dev

How to deploy an embedded server to Elastic-Beanstalk?

From Dev

How to set the instance type with Elastic Beanstalk?

From Dev

How to link ElastiCache cluster to Elastic Beanstalk?

From Dev

How to hide nginx version in elastic beanstalk

From Dev

How to deploy a custom docker image on Elastic Beanstalk?

From Dev

Specify an existing SQS queue when launching an elastic beanstalk worker

From Dev

How to read Elastic Beanstalk Environment Properties in .net?

From Dev

How can I add PATH on Elastic Beanstalk

From Dev

How to run 'rake db:drop' in Elastic Beanstalk

From Dev

Elastic Beanstalk Worker's SQS daemon getting 504 gateway timeout after 1 minute

From Dev

Elastic Beanstalk disable health state change based on 4xx responses

From Dev

How to deploy a subdirectory of git repo to elastic beanstalk

From Dev

How to run a celery worker on AWS Elastic Beanstalk?

From Dev

How to force application version on AWS Elastic Beanstalk

From Dev

How to force application version on AWS Elastic Beanstalk

From Dev

Daemonize PHP script (an SQS listener) on Amazon Elastic Beanstalk

From Dev

How to deploy the django app in AWS elastic beanstalk

From Dev

How to stop Elastic Beanstalk from giving me a new Elastic IP

From Dev

how to disable sqs on elastic beanstalk

From Dev

How to hide nginx version in elastic beanstalk

From Dev

Specify an existing SQS queue when launching an elastic beanstalk worker

From Dev

How to deploy a subdirectory of git repo to elastic beanstalk

From Dev

How to pause charging for Elastic Beanstalk?

From Dev

How to auto terminate and launch elastic beanstalk environment?

From Dev

Start SQS celery worker on Elastic Beanstalk

Related Related

  1. 1

    How to choose between Elastic Container Service (ECS) or Elastic Container Registry (ECR), Elastic Beanstalk, and Lambda?

  2. 2

    How do configure scaling based on latency in AWS Elastic Beanstalk?

  3. 3

    How to configure Elastic Beanstalk for RDS

  4. 4

    How to stop Elastic Beanstalk from giving me a new Elastic IP

  5. 5

    How to deploy an embedded server to Elastic-Beanstalk?

  6. 6

    How to set the instance type with Elastic Beanstalk?

  7. 7

    How to link ElastiCache cluster to Elastic Beanstalk?

  8. 8

    How to hide nginx version in elastic beanstalk

  9. 9

    How to deploy a custom docker image on Elastic Beanstalk?

  10. 10

    Specify an existing SQS queue when launching an elastic beanstalk worker

  11. 11

    How to read Elastic Beanstalk Environment Properties in .net?

  12. 12

    How can I add PATH on Elastic Beanstalk

  13. 13

    How to run 'rake db:drop' in Elastic Beanstalk

  14. 14

    Elastic Beanstalk Worker's SQS daemon getting 504 gateway timeout after 1 minute

  15. 15

    Elastic Beanstalk disable health state change based on 4xx responses

  16. 16

    How to deploy a subdirectory of git repo to elastic beanstalk

  17. 17

    How to run a celery worker on AWS Elastic Beanstalk?

  18. 18

    How to force application version on AWS Elastic Beanstalk

  19. 19

    How to force application version on AWS Elastic Beanstalk

  20. 20

    Daemonize PHP script (an SQS listener) on Amazon Elastic Beanstalk

  21. 21

    How to deploy the django app in AWS elastic beanstalk

  22. 22

    How to stop Elastic Beanstalk from giving me a new Elastic IP

  23. 23

    how to disable sqs on elastic beanstalk

  24. 24

    How to hide nginx version in elastic beanstalk

  25. 25

    Specify an existing SQS queue when launching an elastic beanstalk worker

  26. 26

    How to deploy a subdirectory of git repo to elastic beanstalk

  27. 27

    How to pause charging for Elastic Beanstalk?

  28. 28

    How to auto terminate and launch elastic beanstalk environment?

  29. 29

    Start SQS celery worker on Elastic Beanstalk

HotTag

Archive