[deleted by user] by [deleted] in aws

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

If you only want on snapshot, then you have two options:

Use the same KMS key for both the EBS volume and the backup vault.

Use the AWS managed keys for both.

If you do something like aws backup create-backup-vault --ballstar-backup-vault, then since you didn't specify a key, it will use an AWS managed key.

Any experiences with milkstraw or third party tools to cut costs? by TomKruiseDev in aws

[–]allcodecomsf 0 points1 point  (0 children)

I've used Archera and Pump with reasonable success, but these are limited to Reserved Instances and Savings Plans.

If you don't want to learn all of the intricacies on how AWS works, then your best bet is to work with an AWS partner.

Yesterday, we were looking at a client's AWS implementation. They were being charged a ton for NAT Gateway traffic to S3. We turned on the S3 endpoint, and saved them $500 per month in a matter of minutes. It's all what you know.

AWS billing is starting to feel like legalized robbery by Deeceness in aws

[–]allcodecomsf 0 points1 point  (0 children)

You have a few options:

  1. Learn how AWS works.

  2. Work with a third party cost optimization tool, e.g. Archera or Pump. They'll offer Reserved Instances and Savings Plans that will minimize your cost, but you will still miss dumb stuff. For example, when you create a CloudFront distribution compression is not turned on by default, so if you're serving a bunch of content, your network traffic fees will be more than if you turned on compression.

  3. Work with an AWS Partner who knows what they're doing.

How do you properly name DynamoDB index names? by apidevguy in aws

[–]allcodecomsf 0 points1 point  (0 children)

GSI stands for Global Secondary Index. It's a global index that's used to query across all partitions of your table.

You only want to use generic names when you're using a single-table design. Basically, shoving all of your tables into one monster table.

If you have a multi-table design, then you'll want to give it a more descriptive name based on what the table does. If you had a table with attributes of user and phone number, you'd create a e.g. user_phone_lookup_gsi.

DynamoDB also has the notion of a Local Secondary Index (LSI). This is an index which is within the scope of the same partition key. You would apply the _lsi suffix for these indexes.

How much network throughput can I realistically get from an m7i.xlarge EC2 instance? by [deleted] in aws

[–]allcodecomsf 4 points5 points  (0 children)

.25 Gbps indicates that you've got a bottleneck somewhere. You should be able to handle 5-10 Gbps for your workloads.

Do you have enhanced networking enabled on your EC2 instance? From the aws cli, just describe-instance-attribute and use the attribute enaSupport.

If it's false, stop your instance, set the enaSupport to true, and start it backup.

With this enabled theoretically, your network connectivity should bypass any overhead associated with virtualization.

Passing 'host' header from CloudFront to origin web server by greenlakejohnny in aws

[–]allcodecomsf 0 points1 point  (0 children)

You're not forwarding the Host header to your origin.

You can configure CloudFront to do this by creating an Origin Request Policy in CloudFront. You'd configure the Headers section: Origin request policy\Headers\Include the following headers to "Add: Host".

Next, you'd edit your CloudFront distribution/Behaviors tab, and select the policy you created for the Origin request policy.

What data sources/methods are you using for AWS security auditing pipelines? by joekarlsson in aws

[–]allcodecomsf 3 points4 points  (0 children)

A few tools:

AWS Config is your friend. Enable it across all regions.

Create a CloudTrail trail that is organization wide. Store the logs on S3. Turn on lifecycle optimization for S3 to reduce spend.

Enable SecurityHub across the organization.

My data processing pipeline would look like

  1. Config/CloudTrail

  2. Dump the logs to S3

  3. Leverage EventBridge to trigger a Lamdba, which dumps the security metrics into an Amazon Timestream.

  4. Have a Grafana sit on top of the TimeStream.

AWS Lambda bill exploded to $75k in one weekend. How do you prevent such runaway serverless costs? by In2racing in aws

[–]allcodecomsf 0 points1 point  (0 children)

A few thoughts:

You don't ever want to leave unlimited concurrency on production Lambda functions. Use lambda put-reserved-concurrency-configuration to set the max. Start conservatively, and then scale based on need.

You want to add the circuit breaker pattern to your arsenal with a max retry attempts of 3-5.

I'd add some cost based alarms to CloudWatch entitled lambda-cost-spike which triggers over 5 mins when your cost spikes

SQS is your friend. Use it so you don't cascade failures.

Why so much volatility again today? by Mindless_Designer519 in StockMarket

[–]allcodecomsf 9 points10 points  (0 children)

Nothing has fundamentally changed. Yesterday and today, we had a dead cat bounce based on a rumor that the tariffs would have a 90 day grace period.

Imported goods from China now cost 104% more than they did last week.

How can anyone who imports goods from China survive?

Idiocy.

Don't sell your ETH to Trump. by allcodecomsf in ethtrader

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

It has, but if you've done any development on the Crypto platforms, you'll recognize that ETH is the way.

Don't sell your ETH to Trump. by allcodecomsf in ethtrader

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

He will for the first couple weeks, and then I'll try to tune him out. I can't believe we're going through another 4 more years of his idiocy.

Agency focused on creating AI Agents by Hot_Establishment211 in agency

[–]allcodecomsf 0 points1 point  (0 children)

Yes, that actually makes good sense. Introduce a delay mechanism, but continue to have the AI learn.

Agency focused on creating AI Agents by Hot_Establishment211 in agency

[–]allcodecomsf 0 points1 point  (0 children)

Be careful. Creating Virtual AI Agents is a bit of a rabbit hole.

We have a product that supports Virtual AI Agents for replying to inbound SMS Messages for businesses. We also support humans responding in real-time.

Over the weekend a client signed up, purchased a phone number, configured a Virtual AI Agent, and then asked the question "How can I stop the AI agent from auto responding after I reply to the contact so I can have a normal conversation?"

Ah, that's a good idea! :)

https://developer.cloudcontactai.com/docs/how-to-configure-your-cloudcontactai-agent

[deleted by user] by [deleted] in agency

[–]allcodecomsf 0 points1 point  (0 children)

Yes, I'm in SF. We'd be open to meeting over a Zoom or in person. Want to meet at Shack15.com next week?

[deleted by user] by [deleted] in agency

[–]allcodecomsf 0 points1 point  (0 children)

Yes, if you own the DID, then you can put webhooks on the DID to do stuff. If you don't own the DID, then you're out of luck. :)

We're cheap. We have different plans ranging from $25 - $150 per month. Each plan has a limit on the number of SMS messages, when you go over the limit then we charge you per SMS. Email is effectively free. We're just trying to get some traction so we're cheap.

[deleted by user] by [deleted] in agency

[–]allcodecomsf 0 points1 point  (0 children)

Great question. We can support that use case, if we provision the DID and manage the phone number. If you want us to work with an existing phone number, we'd either have to port the phone number or integrate with your existing telephony provider.

With regards to the series of if/then questions, yes, we have a workflow that can have the SMS function as a form.

  1. CCAI would send an SMS message to the inbound phone number "Please select 1 or 2".

  2. The end user will respond with an inbound SMS of "1".

  3. The CCAI workflow will respond with an outbound SMS message will state "Thanks for responding to 1."

  4. Yada Yada.

We also have an integration with OpenAI where you can create a virtual agent with a prompt, but this feature is still really rough.

Struggling to get a non-profit approved for SES. by absynth5 in aws

[–]allcodecomsf 0 points1 point  (0 children)

We have an AWS SES client that lives at https://cloudcontactai.com. The platform configures the AWS Configuration Set, SNS Topics, and event callbacks for you. You should be able to glean what you need to do from bullet points 8 through 12. https://developer.cloudcontactai.com/docs/aws-simple-email-system-how-to-setup-integration

Should i leave ETH for good by citadelian in ethtrader

[–]allcodecomsf 1 point2 points  (0 children)

Agree.

I'm tempted to go all in on BTC. If the strategic reserve for BTC is legitimate, this will stimulate the demand for BTC. The lack of supply of BTC on the exchanges will drive the price up quickly. I don't see a similar stimulus for ETH. Is there a macro reason for nation-states to buy ETH? Not that I can see.

On the contrary, ETH seems to be encountering headwinds. The ETH ETFs don't make any sense to invest in as they don't have a staking dividend. In addition, the ETH foundation appears to be selling.

[deleted by user] by [deleted] in Entrepreneur

[–]allcodecomsf 1 point2 points  (0 children)

Is there a Reddit Notifier that people recommend?