0

I am configuring a Java application using eclipse which is then deployed onto elastic beanstalk using Tomcat. This application uses Jsch, which is a technology that enables the application to connect to another server (or instance) using a .pem file. The only problem I have is that I do not know how to load the .pem file into elastic beanstalk in order for it to be used by the application. In normal circumstances (i.e. when using an stand alone instance rather than ebs), the application would just reference the .pem file from where it was located in the filesystem. However with ebs, I'm unsure of how to load it in, or reference it, because ebs is supposed to be composed of multiple instances right?

Imad Alazani
  • 6,688
  • 7
  • 36
  • 58

1 Answers1

1

First of all, EBS (Elastic Block Storage) is an AWS product which is very different from AWS Elastic Beanstalk. If you start talking to people knowledgeable in AWS, don't use EBS and Elastic Beanstalk interchangeably. :)

Elastic Beanstalk is designed to run websites and web applications which you deploy to it. As such, you'll need to add the *.pem file to the application source code that you deploy. Your application should know how to access it from within itself.

Ryan Parman
  • 6,855
  • 1
  • 29
  • 43