Have an Alexa skill access private backend services or resources

0

Customer wants to build a set of Alexa skills to be used internally, i.e. by their employees. The Alexa skills would need to access backend services that reside inside the corporate data center. I could think of two approaches:

  1. Run the Alexa skill inside the corporate data center and make the endpoint for it accessible across the internet.
  2. Develop the Alexa skill in Lambda, and open up access to the endpoints of the backed services that need to be accessed.

Does anybody have any experience with one or either or these approaches and caveats to take into account?

John_S
preguntada hace 7 años272 visualizaciones
1 Respuesta
0
Respuesta aceptada

I've seen customers build skills against APIs hosted elsewhere as you outline in scenario 1. The only caveat I'd mention is around security and that developers should validate that a request is actually coming from Alexa by verifying the signature of the request.

If your customer has a VPN or DX link to their data center, they could also consider running their Lambda functions within the associated VPC and communicate privately with their backend APIs. It's likely opening up the APIs of their backend services as you outline in scenario 2 and might introduce other security concerns that are best avoided.

AWS
EXPERTO
respondido hace 7 años
profile picture
EXPERTO
revisado hace 25 días

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas