All Questions
Tagged with amazon-ec2 amazon-web-services
22,556 questions
-1
votes
0
answers
35
views
Embedded tomcat server failing to start on AWS EC2 instance
I have a React/Spring Boot application that works fine locally on the embedded Tomcat server on Ubuntu. However, when I deploy and run the same application on an AWS EC2 instance using mvn clean ...
-1
votes
0
answers
5
views
azure pipeline ec2 inventory creation
fetch_ec2_inventory.py
import boto3
import pandas as pd
import os
from datetime import datetime
def fetch_instances(region, profile, stage):
"""
Fetch EC2 instances from a specific AWS ...
0
votes
0
answers
23
views
cdk deploy failing with no bucket error: Failed to publish asset
I am learning cdk and I am trying create a new bucket. Here is my code to do so:
from aws_cdk import (
Stack,
aws_s3 as s3
)
from constructs import Construct
class MyCDKBucket(Stack):
def ...
0
votes
0
answers
34
views
SMTP mail failing on AWS EC2
I am working on a reset password feature for my web application and am using SMTP to send the reset emails. The functionality works perfectly fine when I run it on my local machine. However, when I ...
0
votes
2
answers
44
views
AWS EC2 user data fails on boot but runs OK manually
On an AWS EC2 Linux 2023 instance, the user data fails with a timeout error on boot.
If I manually run the same AWS CLI command on the instance, it executes with no errors.
There are no networking or ...
-4
votes
0
answers
63
views
AWS EC2 for database update with python [closed]
I have python flask app which is desinged to write/insert rows and update db in SQL Server. I am interested in followings:
If I deploy flask app on Ec2 instance, do I still need to install sql server ...
0
votes
0
answers
36
views
ECS Task Fails to Run on t3.small Instance Due to Resource Constraints with SQL Server, API, and Blazor App Containers
Background:
I'm trying to cut the cost of my instance down in half. A t3.medium (2 vCPU, 4 GiB) costs about $.04/hour while a t3.small (2 vCPU, 2 GiB) costs about $.02/hour.
As stated in the title, my ...
0
votes
0
answers
41
views
Can I build or update hostvars dynamically?
I'd like to define my hosts by their aws_instance_id only and pull data relative to the hosts (private/public IP, DNS hostname, instance type etc) from aws but store it in hostvars as if I'd manually ...
-1
votes
1
answer
55
views
How to close billing in aws console
I've been using AWS for the past week and my free tier is already exhausted. the bill has summed up an amount of 85 USD. I've closed my account now. Will the services generate more billing? How can I ...
0
votes
0
answers
50
views
PowerBI (on app.powerbi.com) do not update data from a PostgreSQL on AWS
I'm a little desperate with a problem that i can't solve.
I have a PostgreSQL in a EC2 virtual machine (with Debian) on AWS. I enable the access to this VM and database and all my developers can ...
0
votes
1
answer
25
views
How to Configure Karpenter to Use Placement Groups in AWS EKS?
I'm using Karpenter for provisioning EC2 instances in my EKS cluster. My application requires that certain EC2 instances be launched within placement groups (e.g., for low-latency or high-throughput ...
0
votes
0
answers
26
views
AWS DMS Test Endpoint fails: Login timeout expired [closed]
Appreciate any help with this:
I have a DMS replication instance set up where I have set up source and target end points. The source is a SQL Server database.
Currently I am trying to test the ...
0
votes
1
answer
33
views
"AWS CodeBuild Error: 'Unable to initialize cache download: no paths specified to be cached' in Buildspec.yml"
I am encountering an issue during the PRE_BUILD phase in AWS CodeBuild. My buildspec script attempts to connect to a MySQL database to verify connectivity, but the connection fails with the following ...
0
votes
1
answer
34
views
EC2-hosted website cannot access public S3 URL
I've been working on a web application that wants to retrieve a CSS file (self-hosted FontAwesome assets), currently living on Amazon S3. The import tag looks like the following:
<link rel="...
0
votes
0
answers
18
views
Query subet info of MSK cluster using AWS CDK
Is there any other way to query BrokerNodeGroupInfo.ClientSubnets of an existing MSK cluster than using lambda and custom resources? I know with that we could basically do anything, but I'd rather ...