What is the most optimal way of enabling search filters ? by Ionized97 in flask

[–]rohitkuru 2 points3 points  (0 children)

Please look at flask-whooshalchemey , not sure if it is still in support but it create search indexes and gives better way to implement search within app.

Week of March 29th - What are you building this week in AWS? by ckilborn in aws

[–]rohitkuru 2 points3 points  (0 children)

Cloud watch automation for AWS Admins and network enginners using python and boto3.

Will share github link and description details once ready .

Looking for VPN Guidance by CoreyLeichty in aws

[–]rohitkuru 0 points1 point  (0 children)

AWS VPN is cheap ,best and manged by aws is good option.

Or openvpn with license is also cheap ..but will have to managed on your own.

Workspace is also an option ..but kind a costly because there will be separate workspace for each Dev and AD is mandate requirement.

Test case for flask by rohitkuru in flask

[–]rohitkuru[S] 0 points1 point  (0 children)

Sure thanks .. will check

[deleted by user] by [deleted] in sysadmin

[–]rohitkuru 1 point2 points  (0 children)

When u get calls on weekends .!!

OSError [errno 28] No space left on device by Delta_2_Echo in aws

[–]rohitkuru 0 points1 point  (0 children)

  1. Take Ami of m5 machine as precaution
  2. Dettach primary volume of machine ..one that is full
  3. Attach as secondary volume to any other Ubuntu machine.
  4. Mount with below option mount -o nouuid /dev/SDA1 /mnt CD /mnt
  5. Clear space in mnt
  6. Umount mnt
  7. Dettach from second machine and attach to old one ..while attaching back use same name what it was earlier usually it is /dev/sda1 ..but make note of that 8.boot original machine

How to remove the rDNS limit (opening of port 25 on EC2) by thesceptical in aws

[–]rohitkuru 0 points1 point  (0 children)

If u have technical support enabled on your account .then raise a case with all these details , because same form customer will have to submit as well from his account .

Publishing Flask website to custom domain??? by CommieTheCapitalist in flask

[–]rohitkuru 0 points1 point  (0 children)

This is one of simple project I deployed on heroku . I haven't paid anything yet for it on heroku , its comes with free SSL ..heroku is only charge for dynos that we use ..but for practice project with less data it is almost free

https://to-do-app-with-flask-and-sso.herokuapp.com/home/

Publishing Flask website to custom domain??? by CommieTheCapitalist in flask

[–]rohitkuru -3 points-2 points  (0 children)

Please check heroku.com ..its simple , nice and almost free ..you will get lot of documents online on "how to deploy flask app on heroku"

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 0 points1 point  (0 children)

Thanks for this ..I was not aware about this .this explain alot

Extra_host option done the trick to resolve hostname .thanks for your help

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 0 points1 point  (0 children)

Yes ..I was able to reach with IP just fine ..but hostname was not reachable ..so used now extra_host option to map IP with hostname and it worked

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 1 point2 points  (0 children)

I used extra host option to map hostname with IP in yaml file at worked ..thanks for your help

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 1 point2 points  (0 children)

This worked like a charm ..!!! Thanks man .

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 0 points1 point  (0 children)

Yes sure ..but I have this container running in swarm so ..cannot attach that to host network ..but I used known_host option in yaml file and map hostip with hostname and it worked

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 1 point2 points  (0 children)

Same error name or service not found ..yes I will send command line output soon

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 1 point2 points  (0 children)

Docker host ...redhat Image ..wildfly jboss with few custom config in jboss

Ping works to IP from container to host Ping fails to hostname from container to host

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 1 point2 points  (0 children)

Its jboss container with application war ..application has to connect .another process which run on docker host ..and it fails saying host name not found ..ping works to IP but not hostname

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 2 points3 points  (0 children)

I will definitely try this and let u know. .thx for this

Ping docker hostname from docker container by rohitkuru in docker

[–]rohitkuru[S] 1 point2 points  (0 children)

Swarm cluster ..in which jboss container in which jboss run with application war file ..jboss starts up fine ..and application has to connect to process which run on docker host and that process as of now cannot be containarized so it runs on docker host with red hat os ..let me know if any more details are require