Skip to content

Instantly share code, notes, and snippets.

View sojan-official's full-sized avatar
🧑‍💻

Sojan Jose sojan-official

🧑‍💻
View GitHub Profile
@sojan-official
sojan-official / WIP.md
Created August 22, 2017 16:30 — forked from till/WIP.md
OpsWorks + DigitalOcean = ❤️

Register a droplet in AWS OpsWorks

AWS Requirements

  • create a new IAM user and attach the AWS OpsWorks Register Policy
  • for testing: create a new stack on AWS OpsWorks and fetch its ID
  • customize all variables prefixed with YOUR_ from the cloud-config.yml

DigitalOcean

# 1. Clear retry set
Sidekiq::RetrySet.new.clear
# 2. Clear scheduled jobs
Sidekiq::ScheduledSet.new.clear
# 3. Clear 'Processed' and 'Failed' jobs