This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package spray.json.examples | |
import java.util.concurrent.TimeUnit | |
import scala.collection.JavaConverters._ | |
import scala.util.{Try, Success, Failure} | |
import com.codahale.metrics._ | |
import spray.json._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: ft=yaml | |
# Elastic Load Balancer and Security Group configuration for the app | |
# | |
# - Allow anyone to connect to port 443 and office traffic to connect to | |
# port 22 | |
# - Ensure all traffic is encrypted by configuring load balancer to listen on | |
# 443 and direct traffic to port 443 on app servers | |
# - Enable cookie-based session stickiness | |
# - Use /status for health check | |
# - Enable backend authentication policy by providing public key for cert |