I am trying to deploy OpenAS2 on azure as a containerized app. Anyone ever deployed OpenAS2 as a containerized app in Kubernet services or Service Fabric?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
1) OpenAS2 can be run inside a docker container, provided there is no restrictions from JVM, e.g. license, JCE.
2) Service Fabric or k8s might be more expensive than VM with the same SLA.
3) Azure has built-in support for AS2 transport. Check Integration Accounts for more details.
Regards,
Nick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@chris. Do you have a detail document, steps or any link that explain how to download master branch from Git and then deploy that as a docker image. Above link has a very high level script .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks @Javier. I am able to pull it. What I am looking for is once I receive files from Partner how do I pull those out from container. When you deploy on a VM you provide paths to download your files but how that would work in container.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Excellent!
Inside the container there are 2 volumes you need to map. "/usr/src/openas2/Runtime/config" for configuration files "/usr/src/openas2/Runtime/data" for data files
Also 2 exposed container Ports which are: 10080 for AS2 receiving 10081 for MDN receiving
For example. you could run your container like:
docker run -it -v $(pwd)/config:/usr/src/openas2/Runtime/config -v $(pwd)/data:/usr/src/openas2/Runtime/data -p4080:10080 -p4081:10081 openas2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to deploy OpenAS2 on azure as a containerized app. Anyone ever deployed OpenAS2 as a containerized app in Kubernet services or Service Fabric?
Hi,
1) OpenAS2 can be run inside a docker container, provided there is no restrictions from JVM, e.g. license, JCE.
2) Service Fabric or k8s might be more expensive than VM with the same SLA.
3) Azure has built-in support for AS2 transport. Check Integration Accounts for more details.
Regards,
Nick
Thanks @Nick. Do you have a link which I can use to install OpenAS2 inside a docker container.
https://github.com/OpenAS2/OpenAs2App/issues/178
Thanks. This helps.
@chris. Do you have a detail document, steps or any link that explain how to download master branch from Git and then deploy that as a docker image. Above link has a very high level script .
Hi Aamir,
I made the Dockerfile script. I uploaded a Docker container to Dockerhub
https://hub.docker.com/repository/docker/greicodex/openas2
Thanks @Javier. I am able to pull it. What I am looking for is once I receive files from Partner how do I pull those out from container. When you deploy on a VM you provide paths to download your files but how that would work in container.
Excellent!
Inside the container there are 2 volumes you need to map.
"/usr/src/openas2/Runtime/config" for configuration files
"/usr/src/openas2/Runtime/data" for data files
Also 2 exposed container Ports which are:
10080 for AS2 receiving
10081 for MDN receiving
For example. you could run your container like:
docker run -it -v $(pwd)/config:/usr/src/openas2/Runtime/config -v $(pwd)/data:/usr/src/openas2/Runtime/data -p4080:10080 -p4081:10081 openas2