AWS

906

Solutions

1K

Contributors

Amazon Web Services (AWS), is a collection of remote computing services, also called web services, that make up a cloud-computing platform  operated from 11 geographical regions across the world. The most central and well-known of these services include Amazon Elastic Compute Cloud, also known as "EC2", and Amazon Simple Storage Service, also known as "S3". Other services include Elastic MapReduce (EMR), Route 53 (a DNS web service),  provides a highly available and scalable Domain Name System (DNS) web service, Virtual Private Cloud (VPC), storage, database, deployment and application services.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have a handful of Windows Servers (2012 & 2016) running IIS in Amazon EC2.

I'd like to be able to backup the IIS Logs to an S3 bucket in the .gzip format and have old logfiles be deleted on the server.

Does anyone know of a script (Powershell or otherwise) that can leverage the AWS CLI that can do this?

How do you get your IIS Log Files to Amazon?
0
Optimize your web performance
LVL 1
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Hello EE,

I have a f5 big ip virtual appliance and need to load additional network interfaces to this device . I did "attach" 2 additional network interfaces to the f5 big ip VE and it shows in the amazon console instances properly . However , accessing the  Network  ››  Interfaces : Interface List in the f5 big ip does not show the attached network interfaces even after reboot .
0
Hi
Would like to upload huge files around 15 gb to aws ec2 instanc
Could you pls advise how to achieve this
0
Dear colleagues,
I'm looking to monitor buckets in Amazon S3 that have open access permissions.

I know there are enterprise solutions like Alienware, UpGuard, Acunetix, Cloudcheckr, Lightrail, etc and open source solutions like CloudCoreo, Threatresponse.cloud and Activity Aware IDS. I know there's a built-in AWS Trusted Advisor Security Check, available for free with a Business support plan. But I think it should be possible to build an out-of-the-box solution.

I'm sending CloudTrail events to a CloudWatch Logs log stream in the log group and then Create a Metric Filter and an alarm. I need help writing a Filter Pattern that triggers if a user changes the permissions of the existing bucket, which actually is the use case.
0
Hi ,

I have a multimedia room with the following equipment in it:

- Denon AVR-X4300
- Dali In-Wall Speakers
- Dali Centre Speaker
- Dali Subwoofer
- Projector Sony HW45ES
- BluRay player Oppo UDP-203

Which of these products would work better with this equipment, the Amazon Echo or the Amazon Dot?
 
Thanks,
Robbie

My ref: 1029743
0
Hello Experts,

I have created an EFS Filesystem, I am trying to find a script which will give me the below

Input to script : EFS Filesystem ID
Output : {AZ targetIPAddress}

we dont have aws dns, so we are manually mounting using IP address...Here are the steps, I have...

1. The below command will give the Subnet and IP address
# $ aws efs describe-mount-targets --file-system-id fs-e10c82b2 --query 'MountTargets[*].[SubnetId,IpAddress]' --output text
OUTPUT : {SUBNET IPADDRESS}

2. The below command will give me AZ for the subnets
$ aws ec2 describe-subnets --subnet-ids subnet-9456320b --query 'Subnets[].AvailabilityZone' --output text
INPUT :SUBNET
OUTPUT : AVAILABILITY ZONE

How do I combine these 2 scripts to get
- AVAILABILITYZONE IPADDRESS

Please assist
0
Hi,

I would like to know how I can send messages using an Amazon Echo to a mobile phone as well as being able to call any phone.

In relation to this:

- The phone being called can be landline or mobile
- It would be a call from an Echo to phone and not Echo to Echo
- The Echo should be able to receive message and calls as well as send
- Would it be free to send messages and make calls in this way
- Also, would anything else be needed to make this work

Thanks,
Robbie

My ref: 1029743
0
Hi Experts,

We are running nightly onsite backups for our server (DC + File Server) using Veeam, and I want to store an offsite copy of these backups on AWS. What AWS Service should i go for? Do you have any documentation or KBs i can refer to for setting this up?
0
how can I have an instace of CENTOS in AWS and be able to login with one user that has a key and other user that will be only able to login with user name and password

is this possible?

thanks
0
Hi,

i want to know if it is possible to import a machine running on Amazon cloud to VMWARE.

Thanks
Mahesh
0
Certified OpenStack Administrator Course
Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

This is using Amazon t2-micro AMI 64-bit linux EC2 instance. I have a gmail email address, thinking of setting up a mail client, with correct credentials so as email can be sending out from this server. I saw a Sendmail daemon is running. I am thinking of sending a tripwire report to my gmail email address, with the cron job command as shown:

/usr/sbin/tripwire -m c | mail -s "Tripwire Report from HOST" abc@gmail.com

I heard that sendmail client is pretty difficult to setup. How about other mail client, such as postfix, and so on.

Thanks in advance.
0
Hello EE,

I have an f5 big ip appliance up and running , however I wish to have 2 interfaces configured . One interface to sit 'out front' of our dmz firewall , and a second network interface to reside 'inside' on the 'lan' to load balance tcp traffic and run irules .

Can someone provide direction please on this matter.
0
Experts,

We are trying to bring up a postfix mail server on an AWS EC2 instance. We have gone through SES but we need to manage our mail server rather than AWS managing it for us.

We already have a domain linux.com. The next step would be to bring up a EC2 instance and install Postfix on it. I would assume we need an Elastic IP assigned and then map a DNS mail.linux.com to it so that is is resolvable. I'm next assuming we need to assign an MX record for mail.linux.com. Would this generally work if you send email to someone@linux.com or are there additional steps like assigning SPF records and DMARC.
0
This is using Amazon web services. This EC2 instance was created using Elastic beanstalk. Using this Elastic Beanstalk, 1 EC2 and 1 S3, plus some other components are created. This EC2 is also having php and MySQL, so it is a LAMP server. It is used to serve dynamic web applications.

Now, I want to setup cloudfront for SSL cert and faster data delivery. I follow the normal steps > choose web delivery, configure origin, distribution, and cache behaviour. I also made use of the route 53 for the public hostname to be pointed to relevant cloudnet. I waited this cloudfront distribution to be "deployed". However, when I access to the web with https, an error message prompts:

cloudfront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.

What would be standard ways of setting up this cloudfront to work with EC2 (LAMP)?

Thanks,
0
Hi,
I'm trying to setup a new webrtc instance behind the firewall where tcp 80 and 443 ports are only available.
All is fine as long as udp ports are enabled. Once I block udp, I can't establish a client connection.
The stun/turn server has been setup however connections are not redirected from webrtc.

RTCMultiConnection.js config:

var IceServersHandler = (function() {
        function getIceServers(connection) {
            var iceServers = [];
iceServers.push(getTURNObj('turn:my.domain.com:443?transport=tcp', 'user', 'pass'));
            if (window.RMCExternalIceServers) {
                iceServers = iceServers.concat(getExtenralIceFormatted());
            } else if (typeof window.getExternalIceServers !== 'undefined' && window.getExternalIceServers == true) {
                connection.iceServers = iceServers;
                window.iceServersLoadCallback = function() {
                    connection.iceServers = connection.iceServers.concat(getExtenralIceFormatted());
                };
            }

            return iceServers;
        }

        return {
            getIceServers: getIceServers
        };
    })();

turnserver.conf config

listening-port=80
tls-listening-port=443
listening-ip=10.10.10.10
relay-ip=1.1.1.1
external-ip=1.1.1.1/10.10.10.10
lt-cred-mech
user=user:pass
realm=domain.com
no-udp
no-dtls
no-udp-relay
cert=/usr/local/etc/cert.pem
pkey=/usr/local/etc/pkey.pem

All is running in AWS cloud.

0
I have a FIX engine running in the cloud and I'm entertaining the idea of streaming FIX messages over websockets vs aws SNS.  Does anyone know pros'cons for either or at least some concrete resource to be able to compare the 2?

I built lightweight clients for both and both seem to be able to be tuned for high usage as well as low usage, so its just matter of price seems like.  Need help deciding.
0
Simply put.. I connected to a free micro instance of a postgres DB I created on AWS RDS.

It worked fine. I set up a database and a couple tables on it.

Now that I'm trying to connect to it from my app.. it's just timing out.

AND.. I can no longer connect to it from PSequel or.. anything. It just keeps timing out.

I'm not even sure what more detailed questions to ask or what to direction to poke in on this one.
0
Hi I have developed a powershell script to logrotate on aws s3. The procedure is that  through script I create archive using 7zip and then use aws put-object. But the script fails to create archive in first step and cites it cannot read archive.

The second approach I did was used compress-archive to create archive and it worked successfully to create archive. But when I download the archive from s3 manually I find that sub-directory files are all present in root folder and all files named as filepaths. This happens as compress-archive fails to send metadata of archive.
0
What are the advantages and disadvantages of migrating to the cloud instead of physically hosted , any contributed answer will be rewarded.
0
ClickHouse in a General Analytical Workload
LVL 2
ClickHouse in a General Analytical Workload

We have mentioned ClickHouse in some recent posts, where it showed excellent results.

In this article on Experts Exchange, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.

Hi,
I am setting up a SQL 2012 failover cluster in AWS, My two sql nodes are in different availability zones (2 x Subnets) 10.10.1.0/24 (Zone A) and 10.10.2.0/24 (Zone B). I have configured windows failover cluster / sql cluster and am able to failover between the two servers. There are two DNS entries for the sql cluster name,

AWS-SQL-CLUS - 10.10.1.20
AWS-SQL-CLUS - 10.10.2.20

Currently the host in Zone A is online and servers in that subnet can connect to the instance but servers in Zone B are trying to connect to AWS-SQL-CLUS - 10.10.2.20 which is offline.... how do i get the servers in other subnet to resolve the DNS entry of the online server ??

James
0
I have a public nat instance and private instance with only private ip. Without iptables in nat instance , private instance is getting internet. But after adding iptable rules in nat instance, private instance is not getting internet. I added iptable rules with output drop,input drop ,forward drop chain. After adding this rule nat is not working.

Do I need to add any pre routing or post routing rule to my iptable rule list.
0
Is it Possible to have Active Directory On AWS without On-Premise Active Directory?

I wanted to join my on-premise users desktop/laptop to Active Directory On AWS .

Basically, i do not want to have on-premise Active Directory.
0
Hello Experts,

Currently the Atlassian applications along with the Postgres databases reside on 1 VM.

I am looking for any recommendations for splitting up the applications/databases and platform options to integrate the Atlassian applications on (VM, Docker or AWS).

We have 100 users split between the US and UK.
0
can any body send me any urls that help me to create a openVPN  connetion to AWS vpc and my personal laptop
0
Here's my AWS linux apache directory structure:
/var
/var/www   rwx rws r-x  2775
/var/www/html   rwx rws r-x  2775
/var/www/html/AWS_s   rwx rws r-x  2775
/var/www/html/AWS_s/nm-app   rwx rws r-x  2775
/var/www/html/AWS_s/cr-app   rwx rwx r-x  0775
/var/www/html/AWS_s/cr-app/media   rwx rwx -wx  0773

Open in new window

I had to make the media directory 'other' -wx in order to be able to copy a file to it, which succeeded.
In order to increase security I want to chmod 'other' using PHP to r-x.

The script is in the cr-app directory:
if(chmod('/media/', 0775))
{
    echo "Successful chmod";
}
else
{
    echo "An error occurred during chmod'ing";
}

Open in new window

However, it fails to change permissions.
Any ideas?
0

AWS

906

Solutions

1K

Contributors

Amazon Web Services (AWS), is a collection of remote computing services, also called web services, that make up a cloud-computing platform  operated from 11 geographical regions across the world. The most central and well-known of these services include Amazon Elastic Compute Cloud, also known as "EC2", and Amazon Simple Storage Service, also known as "S3". Other services include Elastic MapReduce (EMR), Route 53 (a DNS web service),  provides a highly available and scalable Domain Name System (DNS) web service, Virtual Private Cloud (VPC), storage, database, deployment and application services.