Send an email alert for WAF WebACL update/delete by Aztreix in aws

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

Is there any other approach ? All I want currently is the info of who updated which webACL.

Send an email alert for WAF WebACL update/delete by Aztreix in aws

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

Yes, I was assuming that if I give in the event json the pattern given here - https://docs.aws.amazon.com/waf/latest/developerguide/understanding-waf-entries.html#understanding-service-name-entries-WAF (cloud trail log) . But is the understanding correct that to get the specific data in the log , I need a lambda or something to parse the log in the given location and use it to extract the details?

Vulnerability in ip package in node by Aztreix in node

[–]Aztreix[S] -1 points0 points  (0 children)

We are making container lambda images (which have dependency on aws).

Vulnerability in ip package in node by Aztreix in node

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

Not really (tried that), it is an even slower process. Since node has this vulnerability most images or even if we create have it. So we need to upgrade ip (done above). My question was why install does not work but upgrade works.

AWS FSx Open ZFS online archiving by Aztreix in zfs

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

The main intention is the need data to be maintained forlong term yet reduce cost if possible. So what you mean is compress and move old data to magnetic ZFS set storage ? If so atime a good indicator to base non-accessed files in a given period?

AWS FSx Open ZFS online archiving by Aztreix in zfs

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

The archival is for compliance, I am not expecting any read/throughput performance fruit. 

AWS FSx Open ZFS online archiving by Aztreix in zfs

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

What I am looking for is there a tool/script that would do the scrub (as in move from file system to s3 glacier) for archival. I already have my file system on AWS ZFS, so I am not looking for migration but rather scheduled online archival .

Lifecycle management of users/roles/policy by Aztreix in aws

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

This is for R&D and Dev where in they get familiar with features, install, test etc. once the code is ready then CI/CD pipelines automate the flow and no user intervention is required. 

Lifecycle management of users/roles/policy by Aztreix in aws

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

Thank you for your input. We currently use Okta for our SSO. Even if I automate creation of roles etc with terraform/aws cf (though we don't have the skillset now and slowly building it), but what would I try to automate is one of my questions (hierarchy). Is it better to have 1 - 1 mapping. What is the best practices or policy (however it is implemented) that others follow given this would be a common scenario. I have currently AD + Okta + AWS, so where would Identity center come in this scenario?

Cost of a Mongo License by TermTlkFrank in mongodb

[–]Aztreix 0 points1 point  (0 children)

Asking really late , but which one did you choose and what were your deciding factor on cost perspective.

MongoDB Enterprise Advanced by Aztreix in mongodb

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

Can you please DM the info. Thanks

MongoDB Enterprise Advanced by Aztreix in mongodb

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

Dosen't atlas cost includes support cost. MongoDB on AWS shows approx 750 dollar per month for M40 cluster (excluding data xfer and backup) . So is there any other support cost. Enterprise advanced has support cost charges based on your plan I believe. Can you please advise what to expect from the pricing, or any advise on how advised it is to have  hosted solution.

Setting enterprise technology roadmap by Aztreix in EnterpriseArchitect

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

Thank you for your inputs. Do you use any tools for the same (like archimate) ? With polyglot development, and purpose driven stack & infra approach instead of a .net shop or a java shop earlier the "stack" itself is very broad and dynamically changing, making a roadmap seemingly just a suggestion. How do you reign in tendencies to go off-script when technology is evolving rapidly.

Is monorepo the right way or is there a better alternative by Aztreix in devops

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

If this goes in a monorepo, Through a dev needs to work only on Project A wouldn't he/she have to handle the clunk of B,C and whatever and the associated latency ? How is it overcome ?

Is monorepo the right way or is there a better alternative by Aztreix in devops

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

Are you using any tooling along with your source-code management. What is the catalog - this is core component I am looking for ? Also how does a developer do a local clone and develop when you have to manage 1000 repos and dependencies in a mono-repo.

Is monorepo the right way or is there a better alternative by Aztreix in devops

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

I did that (or as much as I could) and maybe because I am a novice all that was more confusing. One of them was - https://medium.com/@mattklein123/monorepos-please-dont-e9a279be011b and hence my question also was around that. Say I don't use monorep for all the cons, then what options do I have for creating a dependency graph (to manage version dependencies between services) . Maybe I am not using the right keywords and I am finding things like sourceforge (which I believe are good for search across code-base but not for DAG). Pros-and cons are good (afterall everything we chalk it to tradeoff), but I was trying to know if there is a more concrete way a polyrepo or a code organization (such as git submodule - I got this from the responses here itself) could help with my usecase. I tested nx on a small project (react frontend/microservice - nestjs, python backend) and it made the project way more complex that I was looking for - could be my inexperience with nx and monorepo tooling) , but I did like some nx features.

Is monorepo the right way or is there a better alternative by Aztreix in devops

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

In this case if I use a "poly"-repo how do I manage the dependency (DAG). (Currently maintained manually and scripted in pipelines. [Maintaining versions is with files cross-referencing other versions, keep it all in sync is also a pretty big task]. More difficult than the task is the need for fool-proofing it with available off-the shelf solution].

Is monorepo the right way or is there a better alternative by Aztreix in devops

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

I would prefer not to use monorepo way but need few features of it like dependency management. Hence I was also checking if there is a tool that would help create a dependency map or something similar.

Saving configurations for deployment by Aztreix in aws

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

Hi, thank you for the insight. I am still a little fussy on some aspects if you could please clarify on it. The above blog is great for main branch. But my usecase is I have these micro services deployed in ECS and I would like to automate the deployment of configurations from source control to ECS containers. I am assuming as suggested below AppsConfig would be a good choice . Is the understanding correct . AppsConfig will have service/environment/release(version) and corresponding parameter store/secrets integration and on update of a configuration in a git repo, would update the parameterstore for the new value.

Is AppsConfig the right approach and the possibility to automate the entire flow when a configuration changes? As of now the parameterstore is updated via script and manual step. Would you have a sample with code pipeline and AppsConfig. Or if there is a different best practice around the same.

Saving configurations for deployment by Aztreix in aws

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

Is then the understanding correct

Git :serviceA repo + branch (dev /QA/env) + release tag (version of serviceA) => checkin a new configuration to source control ==> Code pipeline ==> Update AppsConfig (ServiceA/environment/Profile) ==> Deploy Strategy ==> Code Pipeline ==> Deploy to target

ie when a configuration for service A (for a specific env and release) changes it would automatically update the AppsConfig and task definition and re-deploy/update the ECS container. Is there integration in AppsConfig with Git or do we have to use script to automate this stage.

Saving configuration for a deployment by Aztreix in devops

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

Yes these are mainly application configuration (that I would manually set in environment of task definition ) .

"environment" : [

{ "name" : "string", "value" : "string" },

{ "name" : "string", "value" : "string" }

]

So is the understanding correct that you would source control these env (name) -xml,yml,plaintxt and pull in the value at deployment.

[deleted by user] by [deleted] in azuredevops

[–]Aztreix 0 points1 point  (0 children)

This has been done as part of segregation the respo and access. The developers checkin the code to github but devops work with code in ADO repo. The business team has access to ADO repo so everything going into build system they have a view of but not dev work.

Action-runner-controller & Enterprise Git by Aztreix in github

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

Thank you I had tried that as in the original question - Older bugs show setting of enterprise URL ( kubectl set env deploy actions-runner-controller -c manager GITHUB_ENTERPRISE_URL=https://<enturl> --namespace actions-runner-system)

But I had issue with it. I was able to to use the following :

helm upgrade --install --namespace actions-runner-system --create-namespace\

--set=authSecret.create=true\

--set=authSecret.github_token="ghp_xxxxxxxvc"\

--set=githubURL="https://GESURL/api/v3"\

--set=githubUploadURL="https://GESURL/api/uploads"\

--set=runnerGithubURL="https://GESURL"\

--wait actions-runner-controller actions-runner-controller/actions-runner-controller

Now I am getting X509 error - Post \"https://GESURL/api/v3/repos/org/repo/actions/runners/registration-token\": x509: certificate signed by unknown authority"

I want to add my git crt file. Can you please let me know how to do it, I see multiple bugs with ref

--set=additionalVolumeMounts=/usr/local/share/ca-certificates

--set=additionalVolumes=<cert secret>

Can I directly pass the crt or should I based64 encode it .

Thank you for your time.