How to integrate springboot dependency log4j with Pivotal Cloud Foundry [closed] - cloud-foundry

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I am working on PCF, so the application which I will be deploying in PCF needs files which could be external files, like log4j2spring.xml
How can I provide these files to PCF?
( This is how we are providing in our application: logging.config=classpath:config/log4j2-spring.xml)

In an Enterprise world, the logs that are needed to be configured within in PCF Containers are streamed to any log-analyzer tool, like Papertrail or splunk
You should not specify any such path in logging.config, given the fact that PCF Containers can be trashed for any valid purposes, like, scaling up the app - restarting the app or whatsoever it is ..
So : Write your logs to stdout / stderr and then read those logs using cf logs <app_name> command. Ideal case is to have your logs streamed to any log-viewing tool

Related

Should I Dockerize Angular App or Host Static in S3 [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I have a Docker app and currently have no backend (planning to make one in Spring Boot so it will be separated as microservices). Now, after my research, i have 2 options, I could push the app directly into S3 and set it as static web hosting without dockerizing it, or I could dockerize it and deploy it in ECS and still as a static web page. In my opinion, hosting it in S3 would be way easier, but what benefits or under what circumstances, it is best to dockerize my angular app and deploy it in ECS?
In my opinion, it is totally fine to host your static site on S3, but think about day 2 operations... How would you deploy new changes to the site? back up the site? revert to a specific version? of course, you can do all of it with scripting around S3 but it will require some effort... in my opinion building a container to serve static files is very simple and does not require more effort than creating the bucket, configuring it to serve static files, and add/create the required scripting/tooling to maintain and support the site. containers will win for me because of the ability to store and tag containers with specific versions(based on a specific commit) and better control over logs and debugging will win me. if it's a very low maintenance site go with a bucket otherwise I think it's worth containerizing it.

How to integrate a Web Application firewall (ModSecurity) with Heroku? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I have an application running on the flask server in Heroku. This there any way to integrate ModSecurity or any open-source Web Application Firewall (WAF) to protect my application in Heroku. Any other related answer or help regarding this is also highly appreciated.
There is a Python binding for libmodsecurity3: https://github.com/pymodsecurity/pymodsecurity. In the README, you can find an example for Django - may be you can use that in case of Flask too.
Note, that binding supports only v3.0.3, but the current version is v3.0.4 (libmodsecurity3), and that's nearly 1 year old. The current master branch contains so many changes from that version.

AWS -. Manage windows/Linux ec2 VMs [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I have a question, regarding managing AWS VMs on a system level. On azure cloud i was using CSE extensions to run powershell scripst and manage/configure VMs. I AM looking for similar solution for AWS cloud. I was thinking about SSM dosuments, but that is not a good choice i suppose.
You can use runPowerShellScript SSM Run Command:
Run PowerShell scripts or specify the path to a script to run. This plugin runs on Microsoft Windows Server and Linux operating systems.
This allows you to run any PowerShell script on your Windows instance, on condition that it is setup to work with System Manager.

ADD a existing API without server downtime [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Can you ADD an existing API without server downtime on wso2 ESB?we want to deploy it onto server without interfering with coming live request?
Yes, it is possible. You can replace the existing API configuration in the deployment folder or the CAPP (If you used capps to deploy the api) and you do not need a server restart to apply changes.

Make my Django app into a rentable service for companies [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a webapp running with Django. I would like to make an Enterprise Edition of this website. In exchange for a yearly fee, I would like to allow companies to host the webapp on their own server and benefit from unique features
The problem is that I have no idea how to proceed. How can I execute this, without sending my whole code over to their computer and launching the django app there?
Is there something like generating an .exe that would run the django app without sending my code? How do companies usually proceed to make their tools available on another company's intranet?
well I haven't heard something like that, but what you can do is using a license in your code, there are many types of licenses, from open source to trade secret license, read more about it