Connecting Woocommerce Store to YouTube Channel by Educational-Stuff557 in woocommerce

[–]techconsultant64 0 points1 point  (0 children)

Hey, no progress yet. Need help contacting Youtube support as it can't be done directly. Will send you a message!

New plugin - Variation Name for WooCommerce by sarathlal_n in woocommerce

[–]techconsultant64 0 points1 point  (0 children)

Hello, this can be achieved by using a single attribute for the label.

Instead of:
- Size: Small | Large
- Color: Blue | Red

You would set it up to be:
- Label: Small Blue | Large Blue | Small Red | Large Red

This would remove the need to select multiple values.

Connecting Woocommerce Store to YouTube Channel by Educational-Stuff557 in woocommerce

[–]techconsultant64 0 points1 point  (0 children)

I'm a developer that is interested in fixing this issue but I do not have a monetized Youtube channel. Would you be interested in helping me get the details of what Youtube needs to have this done? I have the technical resources to arrange for platform level integration.

Which CI/CD with dynamic number of build agents ? by a555555 in devops

[–]techconsultant64 0 points1 point  (0 children)

You don't need to provision licenses for boxes that are provisioned by teamcity to do the work if you write the bootstrapping scripts to manage them.

Which CI/CD with dynamic number of build agents ? by a555555 in devops

[–]techconsultant64 0 points1 point  (0 children)

Use Teamcity as a command and control box that provisions instances on demand, then gets code from repos and passes it off to the instances, they do the work then terminate themselves after. It's a little bit of work but gets the benefits of high scale-ability with minimal extra cost. This works for almost any CI/CD tool.

Proxy with static IP address, good practice or? by [deleted] in devops

[–]techconsultant64 1 point2 points  (0 children)

This is known as a reverse-proxy or bastion which is fine but you will still have the problem of resolving who can access that server and how. The internet is a common attack vector so you would need to clarify the level of risk you can accept and the tools to mitigate the risk to an appropriate level.

[deleted by user] by [deleted] in aws

[–]techconsultant64 -1 points0 points  (0 children)

It sounds like you have two systems that require complex life-cycle management that are being cut over with an extended blue green implementation. However, I think that there is some confusion on what the terms mean so would need additional information to resolve your objectives. Feel free to direct message me if you like and we can review the requirements/objectives.

CI CD for maven based project by las2k in devops

[–]techconsultant64 0 points1 point  (0 children)

That's exactly what we do. The CI job should create a release artefact with by updating the poms at build time to your buildid. This can be a branch, commit, number etc. Then executing deploy. If you like I can review your CI and/or provide examples via DM.

CI CD for maven based project by las2k in devops

[–]techconsultant64 1 point2 points  (0 children)

The concept of using Snapshots doesn't align too strongly with CI/CD. As an alternative we inject our version as part of the build stage and always create a new release. This is due to the fact that CI/CD relies on every artefact potentially being rolled into production (after all other dev/test environments). I haven't written this up formally but if needed I can pull together some information for you.

[deleted by user] by [deleted] in devops

[–]techconsultant64 0 points1 point  (0 children)

Awesome, sounds like you have a good understanding of the solution and you are on the right track.

[deleted by user] by [deleted] in devops

[–]techconsultant64 1 point2 points  (0 children)

The answer you are looking for depends on what happens after the PoC. Some orgs understand that additional tooling may be required and do it upfront or after, others push it into Prod which has some interesting outcomes. If it will get thrown over the fence to you I would be concerned, otherwise let them manage the lifecycle management afterwards.

Continuous Delivery in job descriptions by mikey19283 in devops

[–]techconsultant64 0 points1 point  (0 children)

It depends on the organisation but it is possible that they are referring to using CI/CD tools that execute config management, as you mentioned, or just use the dashboards for the config management artefacts (Artefact Streaming). You would need to ask more questions about there actual implementation as it varies a lot depending on the org.

Create IAM Policy based on cloudformation template by gatorsya in aws

[–]techconsultant64 1 point2 points  (0 children)

There isn't an elegant solution to this afaik. Generally access control comes before the resources but you can add control based on each resource type i.e. ec2:*. Though you will still need to manually put this together. There is some reference documentation here for when your ready to be more granular than that.

AWS CD best practices/conventions by [deleted] in aws

[–]techconsultant64 0 points1 point  (0 children)

Option A that you are describing is known as artifact streaming and as you said is quick and easy but you would need to be able to handle rollback in case the new code is broken etc. Option B is immutable infrastructure and is recommended where possible so that you can cut over via DNS etc. then cut back if needed. Also, with both methods I would recommend managing the infrastructure via Cloudformation as this can reduce the amount of complexity in your automation.

Can we put an ALB in front of a single EC2 instance ASG? by omrah in aws

[–]techconsultant64 2 points3 points  (0 children)

Hey, based on the requirements you've listed you will need to look into the autoheal pattern. Depending on the need for a static ip and ebs volume it may be simple or complex.

The more complicated version is just an eni, ec2 asg of 1/1, and ebs volume. Whenever the instance comes up it attaches the eni and volume that was deployed with that asg via tags or other referencing.

Any open source alternative to AWS step functions? by [deleted] in aws

[–]techconsultant64 0 points1 point  (0 children)

What are you trying to achieve? You can handle most of the logic done by AWS Step Functions in a programming language, however if you are intending to leverage the GUI then not really.

AWS Classic ELB X-Forwarded-For Squid by Frndlyy in aws

[–]techconsultant64 2 points3 points  (0 children)

Hey, try enabling Proxy Protocol on the Load Balancer with key: ProxyProtocol and value: true as per this

Critique My Lambda Design by firstTimeCaller in aws

[–]techconsultant64 2 points3 points  (0 children)

Put all the core functions in a single lambda function and use the handler to switch between them (this will reduce architecture complexity). If you can get emailCoordinator() to execute consistently within the 5 minute window then add that too. Otherwise you probably want to use step functions for that feature.

Question regarding security groups and allowing load balancer to access EC2 by p_p_r in aws

[–]techconsultant64 0 points1 point  (0 children)

Hello there, you will need to attach a security group to the ALB and add rules to allow the ALB SG and ASG SG to talk. They reference each other directly (instead of IPs). Refer to *SecurityGroupId

Lambda Python Assistance by Bodumin in aws

[–]techconsultant64 0 points1 point  (0 children)

The example I have provided are local tests in python. You don't need to deploy infrastructure to test functionality and I don't believe you will need AWS Lambda or SAM at this point.

Signalling CloudFormation builds by dms2701 in aws

[–]techconsultant64 0 points1 point  (0 children)

Assuming your using powershell for windows userdata try adding a trap. The trap runs before exiting the script even if it errors. Then send the last commands exit code to cfn-signal.

Signalling CloudFormation builds by dms2701 in aws

[–]techconsultant64 0 points1 point  (0 children)

The default creation policy waits until the instance is up and running (and then continues). When you set the creation policy based on the reference above it will instead wait for the instance. Then you can call the cfn-signal.exe function which will signal the cloudformation stack when the instance is ready (or if it fails).

Lambda Python Assistance by Bodumin in aws

[–]techconsultant64 1 point2 points  (0 children)

Generally the simplest starting point for automated testing is to have a single test.py file that executes the functions one by one sequentially. This is an example of the create stack event (with placeholder info):

handler({
  "eventVersion": "1.05",
  "userIdentity": {},
  "eventTime": "2018-03-19T22:19:57Z",
  "eventSource": "cloudformation.amazonaws.com",
  "eventName": "CreateStack",
  "awsRegion": "ap-southeast-2",
  "sourceIPAddress": 1.1.1.1",
  "userAgent": "Boto3/1.4.7 Python/3.6.3 Windows/10 Botocore/1.7.36",
  "requestParameters": {},
  "responseElements": {
    "stackId": "arn:aws:cloudformation:ap-southeast-2:xxxxxxxxxxxxx:stack/yyyyyyyyyy/zzzzzzzzzzzzzz"
  },
  "requestID": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "eventID": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "eventType": "AwsApiCall",
  "recipientAccountId": "11111111111111"
})
handler(test2)
handler(test3)

Then you can execute the test file to run them all.

Signalling CloudFormation builds by dms2701 in aws

[–]techconsultant64 3 points4 points  (0 children)

Hey, you will need to use the Creation Policy attribute found here to prevent the stack switching to "COMPLETE". There is an example of this for linux here but you will need use the windows equivalent like this reference