Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Storing data in Redis like a pro

90 views

Published on

Slides from Redis Day Tel Aviv 2018, by Omer Levi Hevroni.
Describing how we are using Redis to store data securely.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Storing data in Redis like a pro

  1. 1. Storing Data in Redis like a pro @omerlh
  2. 2. We want a storage that:  Meet our requirements  Secure  We can access it  We can monitor it
  3. 3. Storage Requirements  High Availability  High Performance  Strong Consistency  SaaS Solution  Key-Value Store
  4. 4. Wait, what about Redis?
  5. 5. Storage Requirements ✓ High Availability ✓ High Performance ✓ Strong Consistency ✓ SaaS Solution ✓ Key-Value Store
  6. 6. A note about high availability ● Replication ● Append Only File (AOF) ● Snapshots ● Redislabs SLA: 99.99%! https://redislabs.com/redis-enterprise/technology/highly-available-redis/
  7. 7. Are we done?
  8. 8. What about security?
  9. 9. AUTH command https://redis.io/commands/auth
  10. 10. Layers of security ● Very strong password (64 crypto random bytes) ● TLS with client-side certificate authentication ● IP filtering ● VNet/VPC
  11. 11. Are we done?
  12. 12. Solution: Rebrow
  13. 13. Rebrow ● Web UI for redis database ● Limit Redis access (read/delete) ● Optional: auth proxy
  14. 14. Are we done?
  15. 15. What about monitoring?
  16. 16. Our use case: Keeping Redis in shape ● Our Redis plan has storage limits ● Redislabs will send a mail when we near the limits ● Issues: ○ Not flexible ○ Alert routing
  17. 17. We need a better solution!
  18. 18. Simple solution: INFO command https://redis.io/commands/INFO
  19. 19. Webdis ● HTTP interface for Redis ● Authentication/Authorization ● JSON output
  20. 20. A secure monitoring solution Webdis https://blog.solutotlv.com/keep-redis-shape-3-simple-steps
  21. 21. Are we done?
  22. 22. We have a storage: ✓ Strong Consistency, high availability storage ✓ Secure ✓ We can access it ✓ We can monitor it
  23. 23. Questions?
  24. 24. Demo Checkout the code on GitHub
  25. 25. Thank You! Also, we’re hiring :) @omerlh @SolutoEng

×